gpulido / homeassistant-selve

Home Assistant Custom component to manage Selve devices
MIT License
3 stars 3 forks source link

CoverDevice is deprecated from HomeAssistant #8

Closed Murdocdeluxe closed 1 year ago

Murdocdeluxe commented 2 years ago

Hi,

since one of the last updates, the component stopped working.

After some digging, I found out that the CoverDevice was deprecated from HomeAssistant Cover in HA core and replaced by CoverEntity.

Can you please update the code accordingly? Works fine when simply replacing CoverDevice by CoverEntity in your module cover.py

Thank you.

gpulido commented 2 years ago

Hello, Thanks for pointing it out. After reviewing the master branch was already using CoverEntity. Just as a side comment, I'm making the changes to make it HACS compatible I hope to have time soon to finish it.