[Bug] Item settings disappear when changing identity id in home assistant
jhakonen opened this issue · 0 comments
Describe the bug
User changes identity id of a device (in my case a light group) in Home Assistant. When trying to modify corresponding item in the plasmoid settings all fields are empty, forcing user to re-enter those, and not just the identity id. In addition toggle action doesn't work afterwards, clicking item's button in the widget does nothing. You have to uncheck Action in item settings, save it and re-check the action again and save.
To Reproduce
- In Home Assistant change identity id of a light group (or possibly any device's identity id?)
- Open plasmoid's settings
- Modify settings of item whose identity was changed
Expected behavior
After changing identity id in Home Assistant, I expected that I could modify settings of light.olohuoneen_kattovalaisinryhmä
item and just change its identity id to its new value, without need to set all the other fields too.
Also after I had updated item's settings I expected that clicking item's button would toggle the light group, but nothing happened.
Screenshots
Plasmoid settings after changing identity id of light.olohuoneen_kattovalaisinryhmä
to light.olohuoneen_kattovalaisin
in Home Assistant:
Settings of old item are missing:
Final settings after re-entering them and changing the identity id:
Desktop (please complete the following information):
- Distribution: NixOS 23.11
- KDE Plasma 5.27.10
- KDE Frameworks 5.112.0