Closed RobertD502 closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Please approve this pull request, This fixes an issue on my instance where devices stop working and when readded they are added as entities only.
Thanks a lot!
Currently running the beta for Home Assistant 2023.8. It looks like they have introduced a validator in the device registry that now checks the validity of an entity's device info.
Starting with 2023.8, the following error is logged for all entities:
The
default_manufacturer
key is part of secondary device info while the rest of the device info that you have is primary. This mix between primary and secondary info causes a DeviceInfoError exception to be raised.Changing the key to
manufacturer
instead makes Home Assistant happy as now all parts of the device info provided are primary.