CJNE / ha-sunspec

Home Assistant customcomponent for SunSpec modbus devices
MIT License
63 stars 15 forks source link

Issue after Updating Homeassistant to 2023.05 #187

Open christiankropf opened 1 year ago

christiankropf commented 1 year ago

After Updating the entity "Solaredge inverter Watts" does not refresh properly. After reloading the integration it works for some minutes.

alyf80 commented 1 year ago

I can confirm the problem with core 2023.5.0

Solaredge SE6000H inverter with a connected meter, exporting models 101, 203 and 701

I have since downgraded to 2023.4.6 to keep monitoring going, but I can go back to 2023.5 to gather more information if needed.

Tatanu commented 1 year ago

Same issue here !

koehlerhh commented 1 year ago

Same here. Worked properly with Kaco Blueplanet inverter until update to 2023.5. Since then data refresh from inverter obviously dysfunctional .

masieri commented 1 year ago

Hi all, same problem for me; SMA sunnyboy 6.0 + Sunny boy storage 5.0; sunspec data stop refresh; data refresh only once after a reboot; problem started with version 2023.05. If you want some help please tell me for sending other informations, log and so on.

en2te commented 1 year ago

Same here with Kaco bp 10.0 NX3 M2. No refreshing after initial update.

shymata commented 1 year ago

Hi everybody.

I can confirm the issue : no refresh since 2023.05 update. I have to do it manually.

Through : SE7K-RW0TEBEN4 from SolarEdge.

If it's possible doing something in the code locally, waiting an update, that's ok.

Thanks many times for the work and the answers. ;)

shymata commented 1 year ago

Hi everybody.

I can confirm the issue : no refresh since 2023.05 update. I have to do it manually.

Through : SE7K-RW0TEBEN4 from SolarEdge.

If it's possible doing something in the code locally, waiting an update, that's ok.

Thanks many times for the work and the answers. ;)

Ok replying to myself.

Done an automation doing that in the meanwhile.

If you're interested search more about the service : homeassistant.reload_config_entry Using "Config entry id". The id of the integration is in the URL, when you click on a device of the integration Sunspec. _(after configentry=)

thecem commented 1 year ago

Here the log entry, may it could help.

Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:583 
Integration: Sensor (documentation, issues) 
First occurred: 19:26:05 (18 occurrences) 
Last logged: 19:35:58

Error adding entities for domain sensor with platform sunspec
Error while setting up sunspec platform for sensor
Error adding entities for domain sensor with platform volkswagencarnet
Error while setting up volkswagencarnet platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state
    numerical_value = int(value)
ValueError: invalid literal for int() with base 10: ''

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 846, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state
    raise ValueError(
ValueError: Sensor sensor.fg2410ak3l_201_ac_meter_events has device class None, state class None unit  and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value:  (<class 'str'>)
Grzybu123 commented 1 year ago

Same problem here.

CJNE commented 1 year ago

Seems like HA is more picky about data types now, the integration is now handling enum data types properly so this error should be fixed in 0.0.23.

alyf80 commented 1 year ago

Confirm fixed in 0.0.23. And now we also have proper history for enums... Yay!

christiankropf commented 1 year ago

I can confirm it is fixed in 0.0.23. Thank you for the quick fixing!

thecem commented 1 year ago

I would vote for reopen.

thx in advance: A part is working, another not:


Logger: homeassistant.components.sensor
Source: components/sensor/__init__.py:561 
Integration: Sensor (documentation, issues) 
First occurred: 12:13:40 (2 occurrences) 
Last logged: 12:13:40

Error adding entities for domain sensor with platform sunspec
Error while setting up sunspec platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 846, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state
    raise ValueError(
ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided
thecem commented 1 year ago

Interesting:

up to the „error“ sensor it is ok, all others afterwards are not updating;

thecem commented 1 year ago

IMG_0836

thecem commented 1 year ago

@CJNE I tried to find in which file the dct events, but not really sure: https://github.com/sunspec/models/blob/cd7767e199ef5e7909f7d6aa17dd76b865a185b9/json/model_160.json#L160

So before it was on MPPT, I do not how the value would be mapped to the option.

thecem commented 1 year ago

IMG_0837

CJNE commented 1 year ago

Oh, it looks like I missed to change the value property to use the enum values, this might have caused issues still. Version 0.0.24 is out with a fix! If you still have problems, please acivate debug logging and see what options it says are allowed for the sensor:

Edit configuration.yaml and add debug logging for SunSpec logger: ... logs: custom_components.sunspec: debug ...

thecem commented 1 year ago
Log 1 ``` Logger: homeassistant Source: components/sensor/__init__.py:561 First occurred: 07:16:15 (4 occurrences) Last logged: 07:16:51 Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided ```
Log 2 ``` Logger: homeassistant.components.sensor Source: components/sensor/__init__.py:561 Integration: Sensor (documentation, issues) First occurred: 07:16:03 (2 occurrences) Last logged: 07:16:03 Error adding entities for domain sensor with platform sunspec Error while setting up sunspec platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 846, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided ```
Full Log (long) ``` 2023-05-09 07:16:03.884 DEBUG (MainThread) [custom_components.sunspec] Created sensor for Evt in model 160 using prefix PikoIQ42: Pikoiq42 mppt Global Events uid 9da32dbf29e3d958fe5a714c4adbb7a5_Evt-160-0, device class enum unit None 2023-05-09 07:16:03.884 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['GROUND_FAULT', 'INPUT_OVER_VOLTAGE', 'RESERVED_2', 'DC_DISCONNECT', 'RESERVED_4', 'CABINET_OPEN', 'MANUAL_SHUTDOWN', 'OVER_TEMP', 'RESERVED_8', 'RESERVED_9', 'RESERVED_10', 'RESERVED_11', 'BLOWN_FUSE', 'UNDER_TEMP', 'MEMORY_LOSS', 'ARC_DETECTION', 'RESERVED_16', 'RESERVED_17', 'RESERVED_18', 'RESERVED_19', 'TEST_FAILED', 'INPUT_UNDER_VOLTAGE', 'INPUT_OVER_CURRENT', ''] 2023-05-09 07:16:03.885 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:0:DCA in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 0 DC Current uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:0:DCA-160-0, device class current unit A 2023-05-09 07:16:03.885 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:0:DCV in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 0 DC Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:0:DCV-160-0, device class voltage unit V 2023-05-09 07:16:03.885 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:0:DCW in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 0 DC Power uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:0:DCW-160-0, device class power unit W 2023-05-09 07:16:03.885 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:0:Tms in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 0 Timestamp uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:0:Tms-160-0, device class None unit s 2023-05-09 07:16:03.885 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:0:Tmp in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 0 Temperature uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:0:Tmp-160-0, device class temperature unit °C 2023-05-09 07:16:03.886 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:0:DCSt in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 0 Operating State uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:0:DCSt-160-0, device class enum unit None 2023-05-09 07:16:03.886 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['OFF', 'SLEEPING', 'STARTING', 'MPPT', 'THROTTLED', 'SHUTTING_DOWN', 'FAULT', 'STANDBY', 'TEST', 'RESERVED_10', ''] 2023-05-09 07:16:03.886 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:0:DCEvt in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 0 Module Events uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:0:DCEvt-160-0, device class enum unit None 2023-05-09 07:16:03.886 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['GROUND_FAULT', 'INPUT_OVER_VOLTAGE', 'RESERVED_2', 'DC_DISCONNECT', 'RESERVED_4', 'CABINET_OPEN', 'MANUAL_SHUTDOWN', 'OVER_TEMP', 'RESERVED_8', 'RESERVED_9', 'RESERVED_10', 'RESERVED_11', 'BLOWN_FUSE', 'UNDER_TEMP', 'MEMORY_LOSS', 'ARC_DETECTION', 'RESERVED_16', 'RESERVED_17', 'RESERVED_18', 'RESERVED_19', 'TEST_FAILED', 'INPUT_UNDER_VOLTAGE', 'INPUT_OVER_CURRENT', ''] 2023-05-09 07:16:03.886 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:1:DCA in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 1 DC Current uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:1:DCA-160-0, device class current unit A 2023-05-09 07:16:03.886 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:1:DCV in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 1 DC Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:1:DCV-160-0, device class voltage unit V 2023-05-09 07:16:03.887 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:1:DCW in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 1 DC Power uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:1:DCW-160-0, device class power unit W 2023-05-09 07:16:03.887 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:1:Tms in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 1 Timestamp uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:1:Tms-160-0, device class None unit s 2023-05-09 07:16:03.887 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:1:Tmp in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 1 Temperature uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:1:Tmp-160-0, device class temperature unit °C 2023-05-09 07:16:03.887 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:1:DCSt in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 1 Operating State uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:1:DCSt-160-0, device class enum unit None 2023-05-09 07:16:03.887 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['OFF', 'SLEEPING', 'STARTING', 'MPPT', 'THROTTLED', 'SHUTTING_DOWN', 'FAULT', 'STANDBY', 'TEST', 'RESERVED_10', ''] 2023-05-09 07:16:03.888 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:1:DCEvt in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 1 Module Events uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:1:DCEvt-160-0, device class enum unit None 2023-05-09 07:16:03.888 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['GROUND_FAULT', 'INPUT_OVER_VOLTAGE', 'RESERVED_2', 'DC_DISCONNECT', 'RESERVED_4', 'CABINET_OPEN', 'MANUAL_SHUTDOWN', 'OVER_TEMP', 'RESERVED_8', 'RESERVED_9', 'RESERVED_10', 'RESERVED_11', 'BLOWN_FUSE', 'UNDER_TEMP', 'MEMORY_LOSS', 'ARC_DETECTION', 'RESERVED_16', 'RESERVED_17', 'RESERVED_18', 'RESERVED_19', 'TEST_FAILED', 'INPUT_UNDER_VOLTAGE', 'INPUT_OVER_CURRENT', ''] 2023-05-09 07:16:03.888 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:2:DCA in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 2 DC Current uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:2:DCA-160-0, device class current unit A 2023-05-09 07:16:03.888 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:2:DCV in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 2 DC Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:2:DCV-160-0, device class voltage unit V 2023-05-09 07:16:03.888 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:2:DCW in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 2 DC Power uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:2:DCW-160-0, device class power unit W 2023-05-09 07:16:03.888 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:2:Tms in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 2 Timestamp uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:2:Tms-160-0, device class None unit s 2023-05-09 07:16:03.889 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:2:Tmp in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 2 Temperature uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:2:Tmp-160-0, device class temperature unit °C 2023-05-09 07:16:03.889 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:2:DCSt in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 2 Operating State uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:2:DCSt-160-0, device class enum unit None 2023-05-09 07:16:03.889 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['OFF', 'SLEEPING', 'STARTING', 'MPPT', 'THROTTLED', 'SHUTTING_DOWN', 'FAULT', 'STANDBY', 'TEST', 'RESERVED_10', ''] 2023-05-09 07:16:03.889 DEBUG (MainThread) [custom_components.sunspec] Created sensor for module:2:DCEvt in model 160 using prefix PikoIQ42: Pikoiq42 mppt module 2 Module Events uid 9da32dbf29e3d958fe5a714c4adbb7a5_module:2:DCEvt-160-0, device class enum unit None 2023-05-09 07:16:03.889 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['GROUND_FAULT', 'INPUT_OVER_VOLTAGE', 'RESERVED_2', 'DC_DISCONNECT', 'RESERVED_4', 'CABINET_OPEN', 'MANUAL_SHUTDOWN', 'OVER_TEMP', 'RESERVED_8', 'RESERVED_9', 'RESERVED_10', 'RESERVED_11', 'BLOWN_FUSE', 'UNDER_TEMP', 'MEMORY_LOSS', 'ARC_DETECTION', 'RESERVED_16', 'RESERVED_17', 'RESERVED_18', 'RESERVED_19', 'TEST_FAILED', 'INPUT_UNDER_VOLTAGE', 'INPUT_OVER_CURRENT', ''] 2023-05-09 07:16:03.890 DEBUG (MainThread) [custom_components.sunspec] Created sensor for AHRtg in model 802 using prefix PikoIQ42: Pikoiq42 battery Nameplate Charge Capacity uid 9da32dbf29e3d958fe5a714c4adbb7a5_AHRtg-802-0, device class None unit Ah 2023-05-09 07:16:03.891 DEBUG (MainThread) [custom_components.sunspec] Adding energy sensor 2023-05-09 07:16:03.891 DEBUG (MainThread) [custom_components.sunspec] Created sensor for WHRtg in model 802 using prefix PikoIQ42: Pikoiq42 battery Nameplate Energy Capacity uid 9da32dbf29e3d958fe5a714c4adbb7a5_WHRtg-802-0, device class energy unit Wh 2023-05-09 07:16:03.891 DEBUG (MainThread) [custom_components.sunspec] Created sensor for WChaRteMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Nameplate Max Charge Rate uid 9da32dbf29e3d958fe5a714c4adbb7a5_WChaRteMax-802-0, device class power unit W 2023-05-09 07:16:03.891 DEBUG (MainThread) [custom_components.sunspec] Created sensor for WDisChaRteMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Nameplate Max Discharge Rate uid 9da32dbf29e3d958fe5a714c4adbb7a5_WDisChaRteMax-802-0, device class power unit W 2023-05-09 07:16:03.891 DEBUG (MainThread) [custom_components.sunspec] Created sensor for DisChaRte in model 802 using prefix PikoIQ42: Pikoiq42 battery Self Discharge Rate uid 9da32dbf29e3d958fe5a714c4adbb7a5_DisChaRte-802-0, device class None unit %WHRtg 2023-05-09 07:16:03.892 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SoCMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Nameplate Max SoC uid 9da32dbf29e3d958fe5a714c4adbb7a5_SoCMax-802-0, device class None unit %WHRtg 2023-05-09 07:16:03.892 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SoCMin in model 802 using prefix PikoIQ42: Pikoiq42 battery Nameplate Min SoC uid 9da32dbf29e3d958fe5a714c4adbb7a5_SoCMin-802-0, device class None unit %WHRtg 2023-05-09 07:16:03.892 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SocRsvMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Max Reserve Percent uid 9da32dbf29e3d958fe5a714c4adbb7a5_SocRsvMax-802-0, device class None unit %WHRtg 2023-05-09 07:16:03.892 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SoCRsvMin in model 802 using prefix PikoIQ42: Pikoiq42 battery Min Reserve Percent uid 9da32dbf29e3d958fe5a714c4adbb7a5_SoCRsvMin-802-0, device class None unit %WHRtg 2023-05-09 07:16:03.892 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SoC in model 802 using prefix PikoIQ42: Pikoiq42 battery State of Charge uid 9da32dbf29e3d958fe5a714c4adbb7a5_SoC-802-0, device class None unit %WHRtg 2023-05-09 07:16:03.892 DEBUG (MainThread) [custom_components.sunspec] Created sensor for DoD in model 802 using prefix PikoIQ42: Pikoiq42 battery Depth of Discharge uid 9da32dbf29e3d958fe5a714c4adbb7a5_DoD-802-0, device class None unit % 2023-05-09 07:16:03.892 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SoH in model 802 using prefix PikoIQ42: Pikoiq42 battery State of Health uid 9da32dbf29e3d958fe5a714c4adbb7a5_SoH-802-0, device class None unit % 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Created sensor for ChaSt in model 802 using prefix PikoIQ42: Pikoiq42 battery Charge Status uid 9da32dbf29e3d958fe5a714c4adbb7a5_ChaSt-802-0, device class enum unit None 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['OFF', 'EMPTY', 'DISCHARGING', 'CHARGING', 'FULL', 'HOLDING', 'TESTING', ''] 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Created sensor for LocRemCtl in model 802 using prefix PikoIQ42: Pikoiq42 battery Control Mode uid 9da32dbf29e3d958fe5a714c4adbb7a5_LocRemCtl-802-0, device class enum unit None 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['REMOTE', 'LOCAL', ''] 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Created sensor for Typ in model 802 using prefix PikoIQ42: Pikoiq42 battery Battery Type uid 9da32dbf29e3d958fe5a714c4adbb7a5_Typ-802-0, device class enum unit None 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['NOT APPLICABLE_UNKNOWN', 'LEAD_ACID', 'NICKEL_METAL_HYDRATE', 'NICKEL_CADMIUM', 'LITHIUM_ION', 'CARBON_ZINC', 'ZINC_CHLORIDE', 'ALKALINE', 'RECHARGEABLE_ALKALINE', 'SODIUM_SULFUR', 'FLOW', 'OTHER', ''] 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Created sensor for State in model 802 using prefix PikoIQ42: Pikoiq42 battery State of the Battery Bank uid 9da32dbf29e3d958fe5a714c4adbb7a5_State-802-0, device class enum unit None 2023-05-09 07:16:03.893 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['DISCONNECTED', 'INITIALIZING', 'CONNECTED', 'STANDBY', 'SOC PROTECTION', 'SUSPENDING', 'FAULT', ''] 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for StateVnd in model 802 using prefix PikoIQ42: Pikoiq42 battery Vendor Battery Bank State uid 9da32dbf29e3d958fe5a714c4adbb7a5_StateVnd-802-0, device class None unit None 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for Evt1 in model 802 using prefix PikoIQ42: Pikoiq42 battery Battery Event 1 Bitfield uid 9da32dbf29e3d958fe5a714c4adbb7a5_Evt1-802-0, device class enum unit None 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['COMMUNICATION_ERROR', 'OVER_TEMP_ALARM', 'OVER_TEMP_WARNING', 'UNDER_TEMP_ALARM', 'UNDER_TEMP_WARNING', 'OVER_CHARGE_CURRENT_ALARM', 'OVER_CHARGE_CURRENT_WARNING', 'OVER_DISCHARGE_CURRENT_ALARM', 'OVER_DISCHARGE_CURRENT_WARNING', 'OVER_VOLT_ALARM', 'OVER_VOLT_WARNING', 'UNDER_VOLT_ALARM', 'UNDER_VOLT_WARNING', 'UNDER_SOC_MIN_ALARM', 'UNDER_SOC_MIN_WARNING', 'OVER_SOC_MAX_ALARM', 'OVER_SOC_MAX_WARNING', 'VOLTAGE_IMBALANCE_WARNING', 'TEMPERATURE_IMBALANCE_ALARM', 'TEMPERATURE_IMBALANCE_WARNING', 'CONTACTOR_ERROR', 'FAN_ERROR', 'GROUND_FAULT', 'OPEN_DOOR_ERROR', 'CURRENT_IMBALANCE_WARNING', 'OTHER_ALARM', 'OTHER_WARNING', 'RESERVED_1', 'CONFIGURATION_ALARM', 'CONFIGURATION_WARNING', ''] 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for Evt2 in model 802 using prefix PikoIQ42: Pikoiq42 battery Battery Event 2 Bitfield uid 9da32dbf29e3d958fe5a714c4adbb7a5_Evt2-802-0, device class None unit None 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for EvtVnd1 in model 802 using prefix PikoIQ42: Pikoiq42 battery Vendor Event Bitfield 1 uid 9da32dbf29e3d958fe5a714c4adbb7a5_EvtVnd1-802-0, device class None unit None 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for EvtVnd2 in model 802 using prefix PikoIQ42: Pikoiq42 battery Vendor Event Bitfield 2 uid 9da32dbf29e3d958fe5a714c4adbb7a5_EvtVnd2-802-0, device class None unit None 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for V in model 802 using prefix PikoIQ42: Pikoiq42 battery External Battery Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_V-802-0, device class voltage unit V 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for VMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Max Battery Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_VMax-802-0, device class voltage unit V 2023-05-09 07:16:03.894 DEBUG (MainThread) [custom_components.sunspec] Created sensor for VMin in model 802 using prefix PikoIQ42: Pikoiq42 battery Min Battery Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_VMin-802-0, device class voltage unit V 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for CellVMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Max Cell Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_CellVMax-802-0, device class voltage unit V 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for CellVMin in model 802 using prefix PikoIQ42: Pikoiq42 battery Min Cell Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_CellVMin-802-0, device class voltage unit V 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for CellVAvg in model 802 using prefix PikoIQ42: Pikoiq42 battery Average Cell Voltage uid 9da32dbf29e3d958fe5a714c4adbb7a5_CellVAvg-802-0, device class voltage unit V 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for A in model 802 using prefix PikoIQ42: Pikoiq42 battery Total DC Current uid 9da32dbf29e3d958fe5a714c4adbb7a5_A-802-0, device class current unit A 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for AChaMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Max Charge Current uid 9da32dbf29e3d958fe5a714c4adbb7a5_AChaMax-802-0, device class current unit A 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for ADisChaMax in model 802 using prefix PikoIQ42: Pikoiq42 battery Max Discharge Current uid 9da32dbf29e3d958fe5a714c4adbb7a5_ADisChaMax-802-0, device class current unit A 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for W in model 802 using prefix PikoIQ42: Pikoiq42 battery Total Power uid 9da32dbf29e3d958fe5a714c4adbb7a5_W-802-0, device class power unit W 2023-05-09 07:16:03.895 DEBUG (MainThread) [custom_components.sunspec] Created sensor for ReqInvState in model 802 using prefix PikoIQ42: Pikoiq42 battery Inverter State Request uid 9da32dbf29e3d958fe5a714c4adbb7a5_ReqInvState-802-0, device class enum unit None 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['NO REQUEST', 'START', 'STOP', ''] 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Created sensor for ReqW in model 802 using prefix PikoIQ42: Pikoiq42 battery Battery Power Request uid 9da32dbf29e3d958fe5a714c4adbb7a5_ReqW-802-0, device class power unit W 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SetOp in model 802 using prefix PikoIQ42: Pikoiq42 battery Set Operation uid 9da32dbf29e3d958fe5a714c4adbb7a5_SetOp-802-0, device class enum unit None 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['CONNECT', 'DISCONNECT', ''] 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Created sensor for SetInvState in model 802 using prefix PikoIQ42: Pikoiq42 battery Set Inverter State uid 9da32dbf29e3d958fe5a714c4adbb7a5_SetInvState-802-0, device class enum unit None 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['INVERTER_STOPPED', 'INVERTER_STANDBY', 'INVERTER_STARTED', ''] 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Created sensor for A in model 103 using prefix PikoIQ42: Pikoiq42 inverter Amps uid 9da32dbf29e3d958fe5a714c4adbb7a5_A-103-0, device class current unit A 2023-05-09 07:16:03.896 DEBUG (MainThread) [custom_components.sunspec] Created sensor for AphA in model 103 using prefix PikoIQ42: Pikoiq42 inverter Amps PhaseA uid 9da32dbf29e3d958fe5a714c4adbb7a5_AphA-103-0, device class current unit A 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for AphB in model 103 using prefix PikoIQ42: Pikoiq42 inverter Amps PhaseB uid 9da32dbf29e3d958fe5a714c4adbb7a5_AphB-103-0, device class current unit A 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for AphC in model 103 using prefix PikoIQ42: Pikoiq42 inverter Amps PhaseC uid 9da32dbf29e3d958fe5a714c4adbb7a5_AphC-103-0, device class current unit A 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for PhVphA in model 103 using prefix PikoIQ42: Pikoiq42 inverter Phase Voltage AN uid 9da32dbf29e3d958fe5a714c4adbb7a5_PhVphA-103-0, device class voltage unit V 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for PhVphB in model 103 using prefix PikoIQ42: Pikoiq42 inverter Phase Voltage BN uid 9da32dbf29e3d958fe5a714c4adbb7a5_PhVphB-103-0, device class voltage unit V 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for PhVphC in model 103 using prefix PikoIQ42: Pikoiq42 inverter Phase Voltage CN uid 9da32dbf29e3d958fe5a714c4adbb7a5_PhVphC-103-0, device class voltage unit V 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for W in model 103 using prefix PikoIQ42: Pikoiq42 inverter Watts uid 9da32dbf29e3d958fe5a714c4adbb7a5_W-103-0, device class power unit W 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for Hz in model 103 using prefix PikoIQ42: Pikoiq42 inverter Hz uid 9da32dbf29e3d958fe5a714c4adbb7a5_Hz-103-0, device class None unit Hz 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for VA in model 103 using prefix PikoIQ42: Pikoiq42 inverter VA uid 9da32dbf29e3d958fe5a714c4adbb7a5_VA-103-0, device class None unit VA 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for VAr in model 103 using prefix PikoIQ42: Pikoiq42 inverter VAr uid 9da32dbf29e3d958fe5a714c4adbb7a5_VAr-103-0, device class None unit var 2023-05-09 07:16:03.897 DEBUG (MainThread) [custom_components.sunspec] Created sensor for PF in model 103 using prefix PikoIQ42: Pikoiq42 inverter PF uid 9da32dbf29e3d958fe5a714c4adbb7a5_PF-103-0, device class None unit Pct 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Adding energy sensor 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for WH in model 103 using prefix PikoIQ42: Pikoiq42 inverter WattHours uid 9da32dbf29e3d958fe5a714c4adbb7a5_WH-103-0, device class energy unit Wh 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for DCW in model 103 using prefix PikoIQ42: Pikoiq42 inverter DC Watts uid 9da32dbf29e3d958fe5a714c4adbb7a5_DCW-103-0, device class power unit W 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for TmpCab in model 103 using prefix PikoIQ42: Pikoiq42 inverter Cabinet Temperature uid 9da32dbf29e3d958fe5a714c4adbb7a5_TmpCab-103-0, device class temperature unit °C 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for TmpSnk in model 103 using prefix PikoIQ42: Pikoiq42 inverter Heat Sink Temperature uid 9da32dbf29e3d958fe5a714c4adbb7a5_TmpSnk-103-0, device class temperature unit °C 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for TmpTrns in model 103 using prefix PikoIQ42: Pikoiq42 inverter Transformer Temperature uid 9da32dbf29e3d958fe5a714c4adbb7a5_TmpTrns-103-0, device class temperature unit °C 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for TmpOt in model 103 using prefix PikoIQ42: Pikoiq42 inverter Other Temperature uid 9da32dbf29e3d958fe5a714c4adbb7a5_TmpOt-103-0, device class temperature unit °C 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for St in model 103 using prefix PikoIQ42: Pikoiq42 inverter Operating State uid 9da32dbf29e3d958fe5a714c4adbb7a5_St-103-0, device class enum unit None 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['OFF', 'SLEEPING', 'STARTING', 'MPPT', 'THROTTLED', 'SHUTTING_DOWN', 'FAULT', 'STANDBY', ''] 2023-05-09 07:16:03.898 DEBUG (MainThread) [custom_components.sunspec] Created sensor for StVnd in model 103 using prefix PikoIQ42: Pikoiq42 inverter Vendor Operating State uid 9da32dbf29e3d958fe5a714c4adbb7a5_StVnd-103-0, device class None unit None 2023-05-09 07:16:03.899 DEBUG (MainThread) [custom_components.sunspec] Created sensor for Evt1 in model 103 using prefix PikoIQ42: Pikoiq42 inverter Event1 uid 9da32dbf29e3d958fe5a714c4adbb7a5_Evt1-103-0, device class enum unit None 2023-05-09 07:16:03.899 DEBUG (MainThread) [custom_components.sunspec] Valid options for ENUM: ['GROUND_FAULT', 'DC_OVER_VOLT', 'AC_DISCONNECT', 'DC_DISCONNECT', 'GRID_DISCONNECT', 'CABINET_OPEN', 'MANUAL_SHUTDOWN', 'OVER_TEMP', 'OVER_FREQUENCY', 'UNDER_FREQUENCY', 'AC_OVER_VOLT', 'AC_UNDER_VOLT', 'BLOWN_STRING_FUSE', 'UNDER_TEMP', 'MEMORY_LOSS', 'HW_TEST_FAILURE', ''] 2023-05-09 07:16:03.899 DEBUG (MainThread) [custom_components.sunspec] Created sensor for Evt2 in model 103 using prefix PikoIQ42: Pikoiq42 inverter Event Bitfield 2 uid 9da32dbf29e3d958fe5a714c4adbb7a5_Evt2-103-0, device class None unit None 2023-05-09 07:16:03.899 DEBUG (MainThread) [custom_components.sunspec] Created sensor for EvtVnd1 in model 103 using prefix PikoIQ42: Pikoiq42 inverter Vendor Event Bitfield 1 uid 9da32dbf29e3d958fe5a714c4adbb7a5_EvtVnd1-103-0, device class None unit None 2023-05-09 07:16:03.899 DEBUG (MainThread) [custom_components.sunspec] Created sensor for EvtVnd2 in model 103 using prefix PikoIQ42: Pikoiq42 inverter Vendor Event Bitfield 2 uid 9da32dbf29e3d958fe5a714c4adbb7a5_EvtVnd2-103-0, device class None unit None 2023-05-09 07:16:03.899 DEBUG (MainThread) [custom_components.sunspec] Created sensor for EvtVnd3 in model 103 using prefix PikoIQ42: Pikoiq42 inverter Vendor Event Bitfield 3 uid 9da32dbf29e3d958fe5a714c4adbb7a5_EvtVnd3-103-0, device class None unit None 2023-05-09 07:16:03.899 DEBUG (MainThread) [custom_components.sunspec] Created sensor for EvtVnd4 in model 103 using prefix PikoIQ42: Pikoiq42 inverter Vendor Event Bitfield 4 uid 9da32dbf29e3d958fe5a714c4adbb7a5_EvtVnd4-103-0, device class None unit None 2023-05-09 07:16:03.931 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform sunspec Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 846, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:16:03.935 DEBUG (MainThread) [custom_components.sunspec] Pikoiq42 battery Nameplate Energy Capacity Fetch last known state 2023-05-09 07:16:03.935 DEBUG (MainThread) [custom_components.sunspec] Pikoiq42 battery Nameplate Energy Capacity Got last known value from state: None 2023-05-09 07:16:03.935 DEBUG (MainThread) [custom_components.sunspec] Returning last known value instead of 0 for {self.name) to avoid resetting total_increasing counter 2023-05-09 07:16:03.935 DEBUG (MainThread) [custom_components.sunspec] Pikoiq42 inverter WattHours Fetch last known state 2023-05-09 07:16:03.935 DEBUG (MainThread) [custom_components.sunspec] Pikoiq42 inverter WattHours Got last known value from state: 13034981 2023-05-09 07:16:03.936 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up sunspec platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 312, in _async_setup_platform await asyncio.gather(*pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 455, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 731, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 846, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:16:10.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:10.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:10.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:10.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:10.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:10.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:10.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:10.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:10.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:10.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:10.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:10.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:10.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:10.404 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:10.408 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:10.408 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:10.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:16:10.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:16:10.927 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:16:11.014 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:16:13.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:13.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:13.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:16:13.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:13.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:13.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:13.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:16:13.481 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:13.942 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:16:14.085 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:14.807 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.328 seconds (success: True) 2023-05-09 07:16:14.813 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:15.663 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.423 seconds (success: True) 2023-05-09 07:16:15.666 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:16:20.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:20.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:20.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:20.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:20.259 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:20.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:20.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:20.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:20.323 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:20.323 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:20.324 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:20.324 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:20.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:16:20.865 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:16:20.929 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:16:21.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:21.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:21.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:21.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:22.010 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.609 seconds (success: True) 2023-05-09 07:16:24.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:24.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:24.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:16:24.481 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:25.085 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:25.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:25.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:25.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:16:25.241 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:25.689 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.209 seconds (success: True) 2023-05-09 07:16:25.963 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:16:26.741 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:27.500 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.261 seconds (success: True) 2023-05-09 07:16:27.503 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:16:30.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:30.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:30.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:30.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:30.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:30.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:30.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:30.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:30.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:30.322 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:30.327 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:30.327 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:30.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:16:30.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:16:30.931 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.610 seconds (success: True) 2023-05-09 07:16:31.027 DEBUG (MainThread) [custom_components.sunspec] Returning last known value instead of 0 for {self.name) to avoid resetting total_increasing counter 2023-05-09 07:16:31.049 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 581, in state numerical_value = float(value) # type:ignore[arg-type] ValueError: could not convert string to float: 'unavailable' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/template_entity.py", line 379, in _async_template_startup result_info.async_refresh() File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 953, in async_refresh self._refresh(None) File "/usr/src/homeassistant/homeassistant/helpers/event.py", line 1133, in _refresh self.hass.async_run_hass_job(self._job, event, updates) File "/usr/src/homeassistant/homeassistant/core.py", line 607, in async_run_hass_job hassjob.target(*args) File "/usr/src/homeassistant/homeassistant/helpers/template_entity.py", line 348, in _handle_results self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.em_eg_energy has device class energy, state class total_increasing unit kWh and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: unavailable () 2023-05-09 07:16:32.101 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.105 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.125 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.131 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.138 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.141 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.144 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.154 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:32.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:32.403 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:32.408 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:32.408 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:32.614 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 95, in _async_start await gather_with_concurrency( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 178, in gather_with_concurrency return await gather( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 176, in sem_task return await task File "/usr/src/homeassistant/homeassistant/config_entries.py", line 845, in async_init flow, result = await task File "/usr/src/homeassistant/homeassistant/config_entries.py", line 873, in _async_init result = await self._async_handle_step(flow, flow.init_step, data) File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 367, in _async_handle_step result: FlowResult = await getattr(flow, method)(user_input) File "/usr/src/homeassistant/homeassistant/components/fritzbox/config_flow.py", line 143, in async_step_ssdp if entry.data[CONF_HOST] == host: KeyError: 'host' 2023-05-09 07:16:33.019 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.616 seconds (success: True) 2023-05-09 07:16:35.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:35.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:35.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:16:35.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:36.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:36.623 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:16:36.697 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.218 seconds (success: True) 2023-05-09 07:16:37.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:37.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:37.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:16:37.240 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:37.954 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:16:38.943 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:39.639 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.400 seconds (success: True) 2023-05-09 07:16:39.644 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:16:40.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:40.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:40.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:40.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:40.259 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:40.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:40.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:40.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:40.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:40.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:40.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:40.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:40.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:16:40.863 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:16:40.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:16:42.236 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:42.273 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:42.424 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:42.439 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:42.454 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:42.503 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:42.561 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:42.631 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:16:43.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:43.402 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:43.405 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:43.405 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:44.035 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.633 seconds (success: True) 2023-05-09 07:16:46.479 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:46.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:46.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:16:46.481 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:47.085 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:47.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:16:49.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:49.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:49.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:16:49.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:49.963 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:16:50.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:50.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:50.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:50.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:50.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:50.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:50.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:50.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:50.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:50.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:50.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:50.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:50.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:16:50.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:16:50.906 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:50.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:16:51.600 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.361 seconds (success: True) 2023-05-09 07:16:51.604 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:16:54.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:54.402 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:54.405 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:16:54.406 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:16:55.011 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.609 seconds (success: True) 2023-05-09 07:16:57.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:16:57.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:16:57.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:16:57.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:16:58.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:16:58.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.212 seconds (success: True) 2023-05-09 07:17:00.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:00.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:00.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:00.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:00.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:00.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:00.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:00.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:00.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:00.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:00.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:00.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:00.827 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:17:00.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:17:00.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:17:01.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:01.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:01.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:17:01.241 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:01.963 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:17:02.464 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:02.842 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:02.874 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:02.950 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:02.957 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:03.028 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:03.059 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:03.189 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:03.448 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:03.536 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.296 seconds (success: True) 2023-05-09 07:17:03.540 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:17:05.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:05.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:05.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:05.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:06.015 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.614 seconds (success: True) 2023-05-09 07:17:06.611 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:17:08.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:08.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:08.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:17:08.481 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:09.085 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:09.689 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.210 seconds (success: True) 2023-05-09 07:17:10.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:10.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:10.225 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:10.225 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:10.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:10.261 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:10.263 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:10.263 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:10.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:10.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:10.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:10.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:10.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:17:10.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:17:10.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:17:13.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:13.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:13.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:17:13.240 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:13.938 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:17:14.849 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:15.624 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.385 seconds (success: True) 2023-05-09 07:17:15.629 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:17:16.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:16.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:16.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:16.402 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:17.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:17:19.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:19.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:19.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:17:19.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:20.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:20.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:20.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:20.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:20.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:20.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:20.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:20.259 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:20.259 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:20.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:20.319 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:20.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:20.320 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:20.692 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.213 seconds (success: True) 2023-05-09 07:17:20.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:17:20.862 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.604 seconds (success: True) 2023-05-09 07:17:20.924 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:17:25.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:25.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:25.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:17:25.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:25.942 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:17:26.778 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:27.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:27.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:27.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:27.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:27.494 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.254 seconds (success: True) 2023-05-09 07:17:27.500 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:17:28.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.609 seconds (success: True) 2023-05-09 07:17:28.918 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tyrepressure_array_0_pressure_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tyrePressure_array_0_pressure_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tyrepressure_array_0_pressure_value has device class None, state class None unit kPa and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.924 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tyrepressure_array_1_pressure_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tyrePressure_array_1_pressure_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tyrepressure_array_1_pressure_value has device class None, state class None unit kPa and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.929 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tyrepressure_array_2_pressure_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tyrePressure_array_2_pressure_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tyrepressure_array_2_pressure_value has device class None, state class None unit kPa and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.936 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tyrepressure_array_3_pressure_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tyrePressure_array_3_pressure_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tyrepressure_array_3_pressure_value has device class None, state class None unit kPa and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.939 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_0_totalelectricdistance_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_0_totalElectricDistance_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_0_totalelectricdistance_value has device class distance, state class None unit km and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.941 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_0_energyused_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_0_energyUsed_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_0_energyused_value has device class None, state class None unit kmpl and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.945 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_0_averageenergyused_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_0_averageEnergyUsed_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_0_averageenergyused_value has device class None, state class None unit kmpl and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.947 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_0_totalhybriddistance_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_0_totalHybridDistance_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_0_totalhybriddistance_value has device class distance, state class None unit km and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.950 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_1_totalelectricdistance_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_1_totalElectricDistance_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_1_totalelectricdistance_value has device class distance, state class None unit km and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.952 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_1_energyused_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_1_energyUsed_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_1_energyused_value has device class None, state class None unit kmpl and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.955 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_1_averageenergyused_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_1_averageEnergyUsed_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_1_averageenergyused_value has device class None, state class None unit kmpl and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:28.956 ERROR (MainThread) [homeassistant.components.mqtt.models] Exception raised when updating state of sensor.car_vehicleinfo_tripsinfo_trips_array_1_totalhybriddistance_value, topic: 'homeassistant/sensor/ZFAEFAC41NX050548_car_vehicleInfo_tripsInfo_trips_array_1_totalHybridDistance_value/state' with payload: b'null' Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 579, in state numerical_value = int(value) ValueError: invalid literal for int() with base 10: 'null' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/mqtt/models.py", line 270, in process_write_state_requests entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 583, in state raise ValueError( ValueError: Sensor sensor.car_vehicleinfo_tripsinfo_trips_array_1_totalhybriddistance_value has device class distance, state class None unit km and suggested precision None thus indicating it has a numeric value; however, it has the non-numeric value: null () 2023-05-09 07:17:30.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:30.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:30.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:30.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:30.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:30.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:30.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:30.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:30.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:30.319 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:30.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:30.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:30.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:30.481 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:30.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:17:30.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:30.831 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.610 seconds (success: True) 2023-05-09 07:17:30.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:17:30.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:17:31.088 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:31.692 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.212 seconds (success: True) 2023-05-09 07:17:36.620 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:17:37.253 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:37.253 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:37.257 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:17:37.257 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:37.955 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:17:38.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:38.402 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:38.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:38.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:38.913 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:39.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:17:39.658 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.406 seconds (success: True) 2023-05-09 07:17:39.661 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:17:40.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:40.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:40.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:40.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:40.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:40.261 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:40.267 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:40.267 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:40.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:40.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:40.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:40.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:40.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:17:40.871 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.610 seconds (success: True) 2023-05-09 07:17:40.927 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:17:41.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:41.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:41.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:17:41.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:42.088 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:42.693 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.213 seconds (success: True) 2023-05-09 07:17:42.902 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:43.262 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:43.398 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:43.553 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:43.565 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:43.569 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:43.602 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:43.772 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:17:49.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:49.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:49.245 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:17:49.245 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:49.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:49.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:49.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:49.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:49.946 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:17:50.012 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:17:50.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:50.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:50.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:50.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:50.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:50.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:50.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:50.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:50.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:50.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:50.323 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:17:50.323 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:17:50.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:17:50.863 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:17:50.918 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:50.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:17:51.615 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.376 seconds (success: True) 2023-05-09 07:17:51.622 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:17:52.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:17:52.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:17:52.483 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:17:52.484 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:17:53.088 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:17:53.693 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.213 seconds (success: True) 2023-05-09 07:18:00.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:00.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:00.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:00.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:00.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:00.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:00.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:00.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:00.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:00.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:00.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:00.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:00.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:00.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:00.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:00.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:00.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:18:00.865 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:00.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:18:01.008 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:18:01.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:01.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:01.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:18:01.240 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:02.006 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:18:02.893 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:03.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:03.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:03.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:18:03.483 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:03.589 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.349 seconds (success: True) 2023-05-09 07:18:03.594 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:18:04.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:04.692 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.212 seconds (success: True) 2023-05-09 07:18:06.611 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:18:10.220 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:10.220 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:10.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:10.222 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:10.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:10.260 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:10.263 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:10.263 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:10.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:10.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:10.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:10.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:10.826 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:10.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:10.927 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:18:11.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:11.402 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:11.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:11.405 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:12.012 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.610 seconds (success: True) 2023-05-09 07:18:13.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:13.241 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:13.243 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:18:13.243 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:14.102 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:18:14.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:14.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:14.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:18:14.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:14.907 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:15.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:15.632 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.391 seconds (success: True) 2023-05-09 07:18:15.638 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:18:15.692 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:18:20.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:20.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:20.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:20.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:20.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:20.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:20.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:20.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:20.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:20.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:20.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:20.323 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:20.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:18:20.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:20.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:22.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:22.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:22.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:22.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:23.012 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:18:25.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:25.241 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:25.243 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:18:25.243 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:25.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:25.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:25.483 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:18:25.483 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:25.943 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:18:26.088 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:26.692 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.212 seconds (success: True) 2023-05-09 07:18:26.730 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:27.553 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.313 seconds (success: True) 2023-05-09 07:18:27.560 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:18:30.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:30.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:30.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:30.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:30.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:30.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:30.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:30.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:30.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:30.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:30.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:30.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:30.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:18:30.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:30.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:33.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:33.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:33.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:33.402 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:34.012 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:18:36.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:36.481 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:36.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:18:36.483 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:36.615 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:18:37.088 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:37.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:37.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:37.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:18:37.240 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:37.696 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.215 seconds (success: True) 2023-05-09 07:18:37.943 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:18:38.841 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:39.585 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.346 seconds (success: True) 2023-05-09 07:18:39.591 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:18:40.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:40.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:40.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:40.225 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:40.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:40.261 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:40.280 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:40.280 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:40.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:40.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:40.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:40.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:40.830 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.609 seconds (success: True) 2023-05-09 07:18:40.884 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.624 seconds (success: True) 2023-05-09 07:18:40.924 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.604 seconds (success: True) 2023-05-09 07:18:44.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:44.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:44.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:44.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:45.016 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.614 seconds (success: True) 2023-05-09 07:18:47.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:47.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:47.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:18:47.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:48.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:48.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:18:49.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:49.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:49.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:18:49.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:50.037 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:18:50.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:50.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:50.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:50.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:50.259 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:50.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:50.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:50.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:50.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:50.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:50.323 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:50.323 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:50.834 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.614 seconds (success: True) 2023-05-09 07:18:50.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:50.883 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:50.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:18:51.610 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.370 seconds (success: True) 2023-05-09 07:18:51.612 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:18:55.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:55.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:55.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:18:55.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:18:56.010 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.609 seconds (success: True) 2023-05-09 07:18:58.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:18:58.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:18:58.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:18:58.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:18:59.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:18:59.693 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.213 seconds (success: True) 2023-05-09 07:19:00.220 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:00.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:00.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:00.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:00.259 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:00.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:00.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:00.262 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:00.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:00.319 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:00.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:00.320 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:00.827 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:19:00.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:00.924 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:19:01.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:01.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:01.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:19:01.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:01.980 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:19:02.779 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:03.416 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:03.476 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.237 seconds (success: True) 2023-05-09 07:19:03.482 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:19:03.660 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:03.698 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:03.706 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:03.758 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:04.082 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:04.242 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:04.481 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:19:06.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:06.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:06.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:06.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:06.603 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:19:07.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:19:09.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:09.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:09.483 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:19:09.483 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:10.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:10.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:10.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:10.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:10.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:10.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:10.261 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:10.262 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:10.263 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:10.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:10.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:10.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:10.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:10.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.212 seconds (success: True) 2023-05-09 07:19:10.827 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:10.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:19:10.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:13.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:13.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:13.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:19:13.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:13.940 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:19:14.821 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:15.643 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.403 seconds (success: True) 2023-05-09 07:19:15.648 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:19:17.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:17.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:17.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:17.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:18.010 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.610 seconds (success: True) 2023-05-09 07:19:20.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:20.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:20.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:20.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:20.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:20.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:20.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:20.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:20.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:20.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:20.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:20.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:20.479 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:20.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:20.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:19:20.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:20.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:19:20.863 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:19:20.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:19:21.085 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:21.689 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.210 seconds (success: True) 2023-05-09 07:19:25.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:25.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:25.243 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:19:25.243 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:25.943 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:19:26.869 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:27.589 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.349 seconds (success: True) 2023-05-09 07:19:27.595 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:19:28.400 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:28.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:28.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:28.402 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:29.008 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:30.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:30.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:30.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:30.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:30.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:30.260 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:30.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:30.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:30.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:30.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:30.323 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:30.323 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:30.826 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:19:30.865 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:19:30.927 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:31.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:31.481 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:31.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:19:31.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:32.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:32.690 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.210 seconds (success: True) 2023-05-09 07:19:36.623 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:19:37.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:37.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:37.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:19:37.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:37.943 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:19:38.974 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:39.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:39.402 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:39.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:39.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:39.759 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.520 seconds (success: True) 2023-05-09 07:19:39.765 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:19:40.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:40.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:40.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:40.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:40.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:40.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:40.261 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:40.262 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:40.263 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:40.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:40.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:40.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:40.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:40.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:40.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:19:40.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:19:42.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:42.481 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:42.484 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:19:42.484 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:43.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:43.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.210 seconds (success: True) 2023-05-09 07:19:49.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:49.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:49.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:19:49.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:49.941 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:19:50.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:50.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:50.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:50.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:50.259 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:50.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:50.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:50.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:50.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:50.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:50.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:50.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:50.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:50.402 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:50.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:19:50.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:19:50.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:50.865 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:19:50.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:19:50.939 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:51.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:19:51.741 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.501 seconds (success: True) 2023-05-09 07:19:51.747 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:19:53.479 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:19:53.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:19:53.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:19:53.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:19:54.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:19:54.690 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:20:00.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:00.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:00.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:00.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:00.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:00.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:00.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:00.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:00.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:00.321 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:00.323 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:00.323 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:00.832 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:20:00.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:00.928 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:20:01.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:01.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:01.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:20:01.241 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:01.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:01.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:01.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:01.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:01.983 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:20:02.011 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.610 seconds (success: True) 2023-05-09 07:20:02.854 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:03.551 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.312 seconds (success: True) 2023-05-09 07:20:03.562 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:20:04.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:04.482 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:04.485 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:20:04.485 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:05.090 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:05.699 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.217 seconds (success: True) 2023-05-09 07:20:06.605 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:20:10.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:10.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:10.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:10.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:10.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:10.261 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:10.262 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:10.263 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:10.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:10.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:10.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:10.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:10.831 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.610 seconds (success: True) 2023-05-09 07:20:10.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:10.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:12.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:12.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:12.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:12.402 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:13.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:20:13.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:13.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:13.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:20:13.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:13.966 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:20:14.822 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:15.479 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:15.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:15.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:20:15.481 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:15.601 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.362 seconds (success: True) 2023-05-09 07:20:15.607 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:20:16.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:16.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:20:20.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:20.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:20.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:20.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:20.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:20.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:20.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:20.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:20.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:20.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:20.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:20.323 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:20.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:20.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:20.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:23.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:23.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:23.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:23.402 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:24.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:20:24.354 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:20:24.622 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:20:24.942 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:20:25.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:25.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:25.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:20:25.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:25.960 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:20:26.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:26.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:26.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:20:26.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:26.736 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:27.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:27.429 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.189 seconds (success: True) 2023-05-09 07:20:27.433 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:20:27.695 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.215 seconds (success: True) 2023-05-09 07:20:30.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:30.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:30.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:30.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:30.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:30.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:30.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:30.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:30.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:30.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:30.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:30.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:30.829 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:20:30.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:30.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:34.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:34.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:34.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:34.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:35.011 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.609 seconds (success: True) 2023-05-09 07:20:36.604 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:20:37.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:37.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:37.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:20:37.241 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:37.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:37.481 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:37.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:20:37.483 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:37.946 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:20:38.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:38.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:20:38.728 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:39.552 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.313 seconds (success: True) 2023-05-09 07:20:39.558 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:20:40.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:40.222 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:40.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:40.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:40.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:40.260 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:40.262 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:40.262 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:40.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:40.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:40.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:40.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:40.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:40.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:20:40.928 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:20:45.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:45.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:45.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:45.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:46.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:20:48.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:48.481 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:48.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:20:48.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:49.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:49.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:49.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:49.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:20:49.241 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:20:49.694 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.213 seconds (success: True) 2023-05-09 07:20:49.943 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:20:50.220 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:50.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:50.222 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:50.222 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:50.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:50.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:50.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:50.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:50.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:50.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:50.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:50.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:50.827 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:20:50.853 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:20:50.865 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:20:50.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:20:51.545 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.306 seconds (success: True) 2023-05-09 07:20:51.550 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:20:56.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:56.403 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:56.405 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:20:56.405 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:20:57.013 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:20:59.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:20:59.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:20:59.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:20:59.481 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:00.084 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:00.220 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:00.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:00.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:00.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:00.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:00.259 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:00.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:00.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:00.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:00.321 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:00.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:00.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:00.693 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.213 seconds (success: True) 2023-05-09 07:21:00.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:21:00.865 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:21:00.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:21:01.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:01.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:01.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:21:01.241 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:01.945 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:21:02.830 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:03.526 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.286 seconds (success: True) 2023-05-09 07:21:03.531 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:21:06.598 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:21:07.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:07.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:07.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:07.402 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:08.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:21:10.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:10.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:10.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:10.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:10.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:10.261 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:10.263 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:10.263 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:10.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:10.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:10.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:10.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:10.479 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:10.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:10.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:21:10.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:10.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:21:10.866 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:21:10.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:21:11.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:11.690 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:21:13.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:13.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:13.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:21:13.243 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:14.002 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:21:14.785 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:15.544 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.304 seconds (success: True) 2023-05-09 07:21:15.545 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:21:18.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:18.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:18.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:18.402 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:19.009 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.608 seconds (success: True) 2023-05-09 07:21:20.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:20.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:20.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:20.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:20.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:20.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:20.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:20.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:20.319 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:20.319 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:20.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:20.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:20.827 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:21:20.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:21:20.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:21:21.479 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:21.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:21.481 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:21:21.481 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:22.085 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:22.690 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:21:25.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:25.240 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:25.242 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:21:25.242 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:26.001 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:21:26.780 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:27.495 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.255 seconds (success: True) 2023-05-09 07:21:27.501 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:21:29.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:29.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:29.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:29.403 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:30.014 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.613 seconds (success: True) 2023-05-09 07:21:30.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:30.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:30.224 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:30.224 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:30.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:30.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:30.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:30.260 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:30.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:30.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:30.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:30.322 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:30.828 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.607 seconds (success: True) 2023-05-09 07:21:30.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:21:30.925 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:21:32.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:32.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:32.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:21:32.482 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:33.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:33.689 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.209 seconds (success: True) 2023-05-09 07:21:36.615 ERROR (MainThread) [custom_components.xiaomi_miot.sensor] Air Monitor(cgllc.airm.cgdn1): Got MiioException while fetching the state: Unable to discover the device 192.168.76.77, mapping: {'environment.relative_humidity': {'siid': 3, 'piid': 1}, 'environment.pm2_5_density': {'siid': 3, 'piid': 4}, 'environment.pm10_density': {'siid': 3, 'piid': 5}, 'environment.temperature': {'siid': 3, 'piid': 7}, 'environment.co2_density': {'siid': 3, 'piid': 8}, 'battery_level': {'siid': 4, 'piid': 1}, 'battery.charging_state': {'siid': 4, 'piid': 2}, 'battery.voltage': {'siid': 4, 'piid': 3}}, max_properties: 9/8 2023-05-09 07:21:37.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:37.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:37.240 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:21:37.240 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:37.975 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:21:38.806 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:39.564 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.325 seconds (success: True) 2023-05-09 07:21:39.576 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:21:40.220 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:40.220 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:40.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:40.221 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:40.260 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:40.260 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:40.261 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:40.261 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:40.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:40.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:40.322 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:40.323 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:40.402 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:40.402 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:40.404 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:40.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:40.825 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:21:40.864 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.605 seconds (success: True) 2023-05-09 07:21:40.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:21:41.011 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.609 seconds (success: True) 2023-05-09 07:21:43.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:43.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:43.483 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:21:43.483 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:44.087 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:44.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) 2023-05-09 07:21:44.912 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:21:45.034 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:21:45.213 ERROR (MainThread) [homeassistant.components.forecast_solar] Unexpected error fetching forecast_solar data: Rate limit for API calls reached. (error 429) Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 258, in _async_refresh self.data = await self._async_update_data() File "/usr/src/homeassistant/homeassistant/components/forecast_solar/coordinator.py", line 65, in _async_update_data return await self.forecast.estimate() File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 156, in estimate data = await self._request( File "/usr/local/lib/python3.10/site-packages/forecast_solar/__init__.py", line 125, in _request raise ForecastSolarRatelimit(data["message"]) forecast_solar.exceptions.ForecastSolarRatelimit: Rate limit for API calls reached. (error 429) 2023-05-09 07:21:49.239 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:49.239 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:49.241 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 802, 103} 2023-05-09 07:21:49.241 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:50.051 DEBUG (MainThread) [custom_components.sunspec] Get data for model 802 2023-05-09 07:21:50.221 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:50.221 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:50.223 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:50.223 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:50.258 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:50.258 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:50.262 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:50.262 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:50.320 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:50.320 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:50.321 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:50.321 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:50.827 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:21:50.846 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:50.869 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:21:50.926 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.606 seconds (success: True) 2023-05-09 07:21:51.401 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:51.401 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:51.403 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {203} 2023-05-09 07:21:51.404 DEBUG (MainThread) [custom_components.sunspec] Get data for model 203 2023-05-09 07:21:51.565 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 2.326 seconds (success: True) 2023-05-09 07:21:51.569 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval await self._async_refresh(log_failures=True, scheduled=True) File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh self.async_update_listeners() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners update_callback() File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state state = self._stringify_state(available) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state if (state := self.state) is None: File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state raise ValueError( ValueError: Sensor sensor.pikoiq42_mppt_module_0_operating_state provides state value '0', which is not in the list of options provided 2023-05-09 07:21:52.012 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 0.611 seconds (success: True) 2023-05-09 07:21:54.480 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data coordinator update 2023-05-09 07:21:54.480 DEBUG (MainThread) [custom_components.sunspec] Fetching models 2023-05-09 07:21:54.482 DEBUG (MainThread) [custom_components.sunspec] SunSpec Update data got models {160, 103} 2023-05-09 07:21:54.483 DEBUG (MainThread) [custom_components.sunspec] Get data for model 160 2023-05-09 07:21:55.086 DEBUG (MainThread) [custom_components.sunspec] Get data for model 103 2023-05-09 07:21:55.691 DEBUG (MainThread) [custom_components.sunspec] Finished fetching sunspec data in 1.211 seconds (success: True) ```
thecem commented 1 year ago

Let me know if you need more, the Fronius seems to be with no errors but the kostal piko.

Nesurion commented 1 year ago

Same here using a Kostal Plenticore.


Logger: homeassistant
Source: components/sensor/__init__.py:561 
First occurred: 16:31:26 (316 occurrences) 
Last logged: 19:27:25

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 204, in _handle_refresh_interval
    await self._async_refresh(log_failures=True, scheduled=True)
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 349, in _async_refresh
    self.async_update_listeners()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 146, in async_update_listeners
    update_callback()
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 406, in _handle_coordinator_update
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 585, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 649, in _async_write_ha_state
    state = self._stringify_state(available)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 591, in _stringify_state
    if (state := self.state) is None:
  File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 561, in state
    raise ValueError(
ValueError: Sensor sensor.mppt_module_0_operating_state provides state value '0', which is not in the list of options provided
thecem commented 1 year ago

Do you need more details? The values are not updating. Only once you reload the integration or boot HA.

shingsam commented 1 year ago

Oh, it looks like I missed to change the value property to use the enum values, this might have caused issues still. Version 0.0.24 is out with a fix! If you still have problems, please acivate debug logging and see what options it says are allowed for the sensor:

Edit configuration.yaml and add debug logging for SunSpec logger: ... logs: custom_components.sunspec: debug ...

Hi, why i can't get result when last value Unavailable. Soo i need to restart HA and i can get result again. SunSpec version 0.0.24

Thanks,

Grzybu123 commented 1 year ago

Is there a fix for the plugin? In some other plugins, the problem was in the phyton version.