08-12-2024, 12:14 AM
(This post was last modified: 08-12-2024, 11:43 PM by BaconRanch.)
(08-10-2024, 11:31 PM)admin Wrote: how you rename? post your yaml file have a look.I just did the first 8 in the GUI, checked the YAML and no change there. While in file editor I changed the last 8 as pasted. I restarted just the YAML portion in HA and no change in YAML or GUI. I then restarted HA and lost all changes done in GUI and in file editor to YAML. Yes, I saved changes in file editor before closing and restart of HA.
Posting entire config yaml. Im very sorry to have bought this device, not good vale and costing me too much time now.
Code:
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
binary_sensor:
- platform: mcp23017
i2c_address: 0x20
invert_logic: true
pins:
0 : Button_1
1 : Button_2
2 : Button_3
3 : Button_4
4 : Button_5
5 : Button_6
6 : Button_7
7 : Button_8
8 : Button_9
9 : Button_10
10 : Button_11
11 : Button_12
12 : Button_13
13 : Button_14
14 : Button_15
15 : Button_16
switch:
- platform: mcp23017
i2c_address: 0x22
hw_sync: false
invert_logic: true
pins:
0 : Output_1
1 : Output_2
2 : Output_3
3 : Output_4
4 : Output_5
5 : Output_6
6 : Output_7
7 : Output_8
8 : Output_9
9 : Output_10
10 : Output_11
11 : Output_12
12 : Output_13
13 : Output_14
14 : Output_15
15 : Output_16
Thank you .
Code:
switch:
- platform: mcp23017
i2c_address: 0x22
hw_sync: false
invert_logic: true
pins:
0 : Output_1
1 : Output_2
2 : Output_3
3 : Output_4
4 : Output_5
5 : Output_6
6 : Output_7
7 : Output_8
8 : Output_9
9 : rename test 1 for myBB post 9
10 : rename test 1 for myBB post 10
11 : rename test 1 for myBB post 11
12 : rename test 1 for myBB post 12
13 : rename test 1 for myBB post 13
14 : rename test 1 for myBB post 14
15 : rename test 1 for myBB post 15