gluap / pyduofern-hacs

Repository managing hacs-integration for pyduofern
MIT License
27 stars 8 forks source link

Fix cover features for Home Assistant 2022.04 #19

Closed Hypfer closed 2 years ago

Hypfer commented 2 years ago

After upgrading my Home Assistant Install to 2022.04.6, I've been faced with some cover. entities refusing to be set to a specified position, because HA claimed that they wouldn't support that feature. Indeed they were listed with supported_features: 11 in the devtools.

Strangely, that only affected some of my covers, however I didn't bother further investigating the issue.

With this PR, all covers now report supported_features: 15.

bcutter commented 2 years ago

Strange, as all my covers already have supported_features: 15. I use the cover.set_position service right from the beginning so at minimum 16 months. Probably depending on the specific hardware?

Hope there are no side effects, will update now as it is available via HACS. Will turn back within 3 to 4 days in case somethings wrong.