home-assistant_OctopusAgile
home-assistant_OctopusAgile copied to clipboard
Implements device_state attributes
Looking in the home assistant 'core' logs I've started to see the following on service startup:
2022-01-18 09:56:41 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.octopus_agile_previous_rate (<class 'custom_components.octopusagile.sensor.PreviousRate'>) implements device_state_attributes. Please report it to the custom component author. 2022-01-18 09:56:42 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.octopus_agile_current_rate (<class 'custom_components.octopusagile.sensor.CurrentRate'>) implements device_state_attributes. Please report it to the custom component author. 2022-01-18 09:56:42 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.octopus_agile_next_rate (<class 'custom_components.octopusagile.sensor.NextRate'>) implements device_state_attributes. Please report it to the custom component author. 2022-01-18 09:56:42 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.octopus_agile_min_rate (<class 'custom_components.octopusagile.sensor.MinRate'>) implements device_state_attributes. Please report it to the custom component author.
I'm not sure how significant this is or not 😵
version: core-2021.12.9 installation_type: Home Assistant OS dev: false hassio: true python_version: 3.9.7 os_name: Linux os_version: 5.10.88 host_os: Home Assistant OS 7.1 supervisor_version: supervisor-2021.12.2
the use of device_state_attributes has been deprecated. I think extra_state_attributes should be used from now on.