Closed Hoekeren closed 1 month ago
try 0.5.5.
The sensors now do not start after a restart of HA. I have to manually restart every sensor to get the started. Furthermore the sensors show optimal start time that lies before the present time?
Logger: homeassistant.config_entries Source: helpers/event.py:198 First occurred: 08.01.25 (2 occurrences) Last logged: 08.01.25
Error setting up entry Peaqnext-sensors for peaqnext
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/peaqnext/init.py", line 25, in async_setup_entry
hub = Hub(hass)
^^^^^^^^^
File "/config/custom_components/peaqnext/service/hub.py", line 29, in init
async_track_state_change(
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 198, in async_track_state_change
entity_ids = tuple(entity_id.lower() for entity_id in entity_ids)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 198, in
very weird indeed...
thanks. can you open up one of them so that i can see the attributes for the sensor?
The part where it says 12:00 is because it's ser to hourly update and not every minute. The other errors still pending. Will see if i get time tonight to have a look there.
Denne fejl stammer fra en brugerdefineret integration.
Logger: homeassistant.config_entries Source: custom_components/peaqnext/init.py:61 Integration: peaqnext, utility sensors (documentation, issues) First occurred: 18. september 2023 kl. 22.51.51 (2 occurrences) Last logged: 18. september 2023 kl. 22.51.51
Error setting up entry Peaqnext-sensors for peaqnext Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/peaqnext/init.py", line 28, in async_setup_entry internal_sensors = await async_create_internal_sensors(conf) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/peaqnext/init.py", line 61, in async_create_internal_sensors update_by=UpdateBy(s.get(CONF_UPDATE_BY)), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/enum.py", line 712, in call return cls.new(cls, value) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/enum.py", line 1128, in new raise ve_exc ValueError: None is not a valid UpdateBy