Bouni / luxtronik

Luxtronik integration for Home Assistant
MIT License
82 stars 13 forks source link

HA 0.110.x BinarySensorDevice is deprecated #2

Closed WhistleMaster closed 4 years ago

WhistleMaster commented 4 years ago

Hi !

Thanks for the great work. Starting from HA 0.110.x, there is now an error in HA log when using Luxtronik component:

Log Details (WARNING)
Logger: homeassistant.components.binary_sensor
Source: components/binary_sensor/__init__.py:174
Integration: Binary sensor (documentation, issues)
BinarySensorDevice is deprecated, modify LuxtronikBinarySensor to extend BinarySensorEntity

Thanks !

Bouni commented 4 years ago

Just upgraded myself and will take a look at this soon.