kevinvincent / ha-wyzesense

A Home Assistant Component to interface with the WYZE Sense hub and sensor system
368 stars 98 forks source link

BinarySensorDevice is deprecated #143

Closed B3voholic closed 4 years ago

B3voholic commented 4 years ago

Getting the following error in the logs after updating to 110.

2020-05-23 18:08:58 WARNING (MainThread) [homeassistant.components.binary_sensor] BinarySensorDevice is deprecated, modify WyzeSensor to extend BinarySensorEntity

I don't have anything specifically called these in my configs anywhere. Does anyone have any idea what this is?

boonhapus commented 4 years ago

The deprecating warning is referencing that actual wyze sensor that's exposed to Home Assistant. [here]

Addressed in a blog post from earlier this month - essentially some hass internals had a change which should be a simple update for @kevinvincent.

https://developers.home-assistant.io/blog/

photinus commented 4 years ago

This is already fixed in in the current release.