sebirdman / hass_traeger

Hass Plugin for Traeger (WIP)
MIT License
90 stars 21 forks source link

Entity implements "device_state_attributes" #29

Closed njobrien1006 closed 2 years ago

njobrien1006 commented 2 years ago

Version of the custom_component

Latest Integration Latest HA

Add your logs here.

2021-12-21 13:09:18 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.xxxxxxxxxxx_pellet_level (<class 'custom_components.traeger.sensor.PelletSensor'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-21 13:09:18 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.xxxxxxxxxxx_ambient_temperature (<class 'custom_components.traeger.sensor.ValueTemperature'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-21 13:09:18 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.xxxxxxxxxxx_cook_timer_start (<class 'custom_components.traeger.sensor.GrillTimer'>) implements device_state_attributes. Please report it to the custom component author.
2021-12-21 13:09:18 WARNING (MainThread) [homeassistant.helpers.entity] Entity sensor.xxxxxxxxxxx_cook_timer_end (<class 'custom_components.traeger.sensor.GrillTimer'>) implements device_state_attributes. Please report it to the custom component author.

Describe the bug

Just marking this one for the moment.

Per http://dev-docs.home-assistant.io/en/master/api/helpers.html

This method is deprecated, platform classes should implement extra_state_attributes instead.

Appears fixed in BluePrint https://github.com/custom-components/integration_blueprint/commit/907de1aaab68b1a384113f968fccbec198d68742