gicamm / homeassistant-comelit

With Comelit Hub/Vedo integration, you can connect your Home Assistant instance to Comelit Simple Home and Vedo systems.
Apache License 2.0
23 stars 7 forks source link

Fixed cover position handling #77

Closed optiluca closed 6 months ago

optiluca commented 6 months ago

Using the shorthand "if self._position:" to check for None meant that if _position=0, we entered the wrong branch. Made check vs None explicit.

gicamm commented 6 months ago

thank you Luca