Posts: 24
Threads: 9
Joined: Aug 2024
08-10-2024, 11:11 PM
(This post was last modified: 08-13-2024, 08:35 PM by BaconRanch.)
Good Day,
I have just set up Kincony server16 and have it up and running and all entities exposed with Home Assistant. I have spent lots of time customising with new entities names and arrangement that makes sense for my use but every time I reboot the work is lost and I have default names of output_1, output_2, etc. etc.... and I have no way to know which switch is required. Why are my custom names not being saved? This unit is really no use to me if it defaults every time and wastes my time and is dangerous to use without proper switch labels.
Posts: 6,625
Threads: 844
Joined: Oct 2020
Reputation:
162
how you rename? post your yaml file have a look.
Posts: 24
Threads: 9
Joined: Aug 2024
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
Posts: 24
Threads: 9
Joined: Aug 2024
(08-12-2024, 11:02 PM)admin Wrote: your output9-ouptut16 name too long. you can test , for example:
9 : light1
10: light2
.......
sample yaml donwload at here: https://www.kincony.com/forum/showthread.php?tid=5438
if you have any question about the MCP23017, you can feedback at here, they repied very fast:
https://github.com/jpcornil-git/HA-mcp23017/issues
ok thank you, this helped but its not accurate or complete. For future if anyone wants to re-name as I suspect most do, you have to re-name the entity names only in the configuration YAML, spaces appear to work fine and you dont need underscores....after your changes you must restart Home Assistant, just re-loading to YAML doesnt work with this device.
Once re-started, in the GUI where the default names were listed if you placed the entities on a dashboard tab....the entities are no loner available as they had been re-named. If you check in unused entities ( top rights 3 dots when you are in edit mode ) you will see your newly named entities there, just go on and put them in your dashboard and they now survive re-starts.
Hope that is clear.