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
Error writing config for core.entity_registry (json error in core.entity_registry) #31212
Comments
Same errore and same configuration |
Same issue, as below. 2020-02-02 15:15:59 ERROR (SyncWorker_0) [homeassistant.util.json] Failed to serialize to JSON: /config/.storage/core.entity_registry |
I noticed core.entity_registry last update was on 01/15/20 (0.104.0 release date) |
the problem seems to be related to the inability to write to the core.entity_registry file |
I didn't change manually the file. |
I was able to reproduce the error in another context. in the Entity Registry every time I change the name of an entity, the error appears. update: now on 0.105.0 and 0.105.1 |
This comment has been minimized.
This comment has been minimized.
I've opened #31901 which will help us point out what data is incorrect. |
Please update to Home Assistant Core 0.105.5 and check your logs. It should now tell you the paths to the data that is incorrect. |
From my log:
The "bad data", I think, come from an air conditioner through a SmartThings integration. |
The same from Deconz integration
|
@andrewsayre could you verify that air conditioners do not return a set for hvac modes? @Kane610 could you verify that Deconz does not return a set for hvac modes? |
@balloob it is only returning data that is from json structures so shouldn't be possible. (I also double checked the code, no sets as far as I can see) |
I guess my updated error message wasn't very helpful :( |
I found the SmartThings Air Conditioner issue and have a fix here #31959 |
@fudu could you look in the file |
Same here
I don't know where to find which device the number 150 corresponds to, but the entity number is 5 (150-151-152-153-154) and I have 7 tado thermostats (climate.___) and 5 SmartThings air conditioners, so I think it's their fault... |
There aren't data entities 52,53,54,55 in core.entity_registry, but message:
appears when I try to personalize (name change...) ANY entities from ANY integration (Deconz, Smartthings, mobile App). Changes are reverted after HA restart. |
actually, i own 4 samsung air conditioners .... probably entities 52,53,54,55 involved ??
actually, i own 4 samsung air conditioners .... probably entities 52,53,54,55 involved ?? |
Alright, fix for the Samsung ACs will be in the next release 👍 |
Solved with 0.106.0, however I had to remove the SmartThings integration and re-enable it. No way to use previous smart-app. |
Since 0.104.0 at reboot of home assistant these two errors appear in the registry.
I'm using hassio 0.104.3 on rpi3b+ in docker (raspbian)
I didn't find any evident malfunctions, however I can't understand what the generation of this error can be linked to.
Error writing config for core.entity_registry: Object of type set is not JSON serializable
UPDATE: the error appears also in 0.105.0 and 0.105.1
The text was updated successfully, but these errors were encountered: