hatl / hasscontrol

Simple garmin widget to control home assistant scenes
Other
134 stars 19 forks source link

Handle transitional states for covers #57

Closed siku2 closed 6 months ago

siku2 commented 7 months ago

Home Assistant officially recognizes opening and closing as valid states for covers: https://developers.home-assistant.io/docs/core/entity/cover/#states. Right now these states cause the widget to display an unknown state. This PR changes that so the transitional states are at least mapped to their equivalent stable state.

As with #56, I haven't tested this.

hatl commented 7 months ago

Thanks you - i'll look into it as soon as possible