cyberjunky / home-assistant-toon_climate

This component provides a climate device for rooted Toon thermostats.
MIT License
32 stars 8 forks source link

Warning on 2021.12.0b0: Entity climate.woonkamer (..) implements device_state_attributes #35

Closed hmmbob closed 2 years ago

hmmbob commented 2 years ago

After upgrading to 2021.12.b0 I'm seeing this warning in my logs:

2021-12-04 10:29:36 WARNING (MainThread) [homeassistant.helpers.entity] Entity climate.woonkamer (<class 'custom_components.toon_climate.climate.ThermostatDevice'>) implements device_state_attributes. Please report it to the custom component author.

Requested more info in the #beta channel on Discord, got this info:

image

rbak69 commented 2 years ago

@hmmbob thanks for letting us know. I will change it in the code in order to get rid of the warning.

hmmbob commented 2 years ago

Thanks. Don't know about backwards compatibility....

rbak69 commented 2 years ago

@hmmbob just checked on core-2021.11.5 and it works just fine

hmmbob commented 2 years ago

Seeing another warning in debug mode:

/config/custom_components/toon_climate/climate.py:198: DeprecationWarning: with timeout() is deprecated, use async with timeout() instead
  with async_timeout.timeout(5):