You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have automation to turn on a switch, triggered when climate.wiser_bathroom starts heating, and to turn it off when it stops heating. Has worked perfectly for a year.
After upgrade to 3.4.12, the triggers did not fire at all. Nothing in the logbook.
Reverted to 3.4.10 and everything back to normal, and the logbook shows
Bathroom UFH On triggered by event 'wiser_event'
10:29:52 - 16 minutes ago
ShellyP1PMUFH Switch 0 turned on triggered by automation Bathroom UFH On triggered by event 'wiser_event'
10:29:52 - 16 minutes ago
Just tested and yes it is not working for anything that is a true/false event. I will fix in next release. In the meantime, either downgrade to v3.4.11 or you can amend the following code.
In custom_components/wiser/events.py change line line 70 from
hasattr(old_state, event[CONF_ATTRIBUTE])
and getattr(new_state, event[CONF_ATTRIBUTE])
and getattr(old_state, event[CONF_ATTRIBUTE])
to
hasattr(old_state, event[CONF_ATTRIBUTE])
and getattr(new_state, event[CONF_ATTRIBUTE]) is not None
and getattr(old_state, event[CONF_ATTRIBUTE]) is not None
I have automation to turn on a switch, triggered when climate.wiser_bathroom starts heating, and to turn it off when it stops heating. Has worked perfectly for a year.
After upgrade to 3.4.12, the triggers did not fire at all. Nothing in the logbook.
Reverted to 3.4.10 and everything back to normal, and the logbook shows
Example of the automation
The text was updated successfully, but these errors were encountered: