laetificat / haanna

Plugwise Anna API to use in conjunction with Home Assistant.
MIT License
5 stars 5 forks source link

Hotfix/active schedule seen as preset in legacy variant #5

Closed plamola closed 5 years ago

plamola commented 5 years ago

Fix for issue #4

When the schedule is active, the Anna legacy code would interpret this as an active preset, but failed when retrieving the name of the preset, since the schedule rule does not have an icon.

Changes: