Closed epe71 closed 2 years ago
In the Home Assistant log there are some warning about device_state_attributes. Here is one of them:
2021-12-23 18:25:55 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.pollen_viborg_birk (<class 'custom_components.dmipollen.sensor.DMIPollenSensor'>) implements device_state_attributes. Please report it to the custom component author.
If you rename the method from device_state_attributes to extra_state_attributes the problem is fixed, it is a simple as that. :-)
Hi epe71. Thanks for the notice 👍 I will take a look at it between Christmas and New Year.
This issue is solved in v2022.1.0
In the Home Assistant log there are some warning about device_state_attributes. Here is one of them:
2021-12-23 18:25:55 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.pollen_viborg_birk (<class 'custom_components.dmipollen.sensor.DMIPollenSensor'>) implements device_state_attributes. Please report it to the custom component author.
If you rename the method from device_state_attributes to extra_state_attributes the problem is fixed, it is a simple as that. :-)