Closed sweetpants closed 1 year ago
I'm having the same issue but I'm using the integration with my Frank Energie account. So logged in or not, the issue seems to be the same.
Issue is triggered by https://github.com/home-assistant/core/pull/95641, will see..
I am unable to test locally atm so I try to hotfix it.
Issue should be resolved in v2.5.1, please install this version and try it out. If the problem still persist feel free to reopen this issue.
Fix works for me, great Job @DCSBL !
After upgrade to HA 2023.9.0 the integration stopped working. Re-installed the integration did not help. Normally I should have 17 entities read from Frank Energie, but none are now. HA log says after reload:
2023-09-07 10:25:46.787 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.793 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.794 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.797 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.799 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.802 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.804 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.807 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.817 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.824 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.828 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.832 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.839 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.842 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.846 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.850 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information. 2023-09-07 10:25:46.852 ERROR (MainThread) [homeassistant.components.sensor] frank_energie: Not adding entity with invalid device info: Invalid device info {'configuration_url': 'https://www.frankenergie.nl/goedkoop', 'default_manufacturer': 'Frank Energie', 'entry_type': <DeviceEntryType.SERVICE: 'service'>, 'identifiers': {('frank_energie', '518f7a1e0e42abc4ce3edb627d490689')}, 'name': 'Frank Energie - Prices'} for 'frank_energie' config entry: device info needs to either describe a device, link to existing device or provide extra information.
Please have a look at it
Regards, HArry
PS: I'm using the integration without an account