-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switches entity_category: config not restored #174
Comments
I think that if you delete the knx ConfigEntry none of the UI-entities are restored, are they? |
All lights and swiches were restored. Only those switches with category config weren’t. |
🤔 I added them but now I get the following error when restarting:
|
👍 yep, already found the bug. Will file a PR later. |
👌 |
Afaic those are the same errors. But imho, restoration shouldn't even be possible. Deleting the config entry should also delete all UI entity config... it doesn't now as I didn't think of it, but what else would be the point of deletion? |
Should work with 2024.9.3 |
Yes, you are right. Deleting the config entry is supposed to delete the entities associated to it as well. Wasn't a good idea. So, the restoration was unintentional. I still wonder why there were restored. I updated to 2024.9.3. The error in the log is gone but the first restart duplicated all switches with entity_category: config. I deleted all duplicates manually. Now, all seems fine. |
I created switched from KNX frontend weeks ago. Today I removed the config entry in order to test something. Afterwards all switches created from frontend that used entity_category: config were not restored.
The text was updated successfully, but these errors were encountered: