I’ve been using the Smart Things integration to get state updates for my washer and dryer. I would then run automations based on the state change (notifications of a finished job). This stopped working several weeks ago. I did some digging this afternoon and this is what I found.
If I look at the sensor history in HA, I can see it change from one state to another (i.e. stop to run to stop). For some reason these state changes that I can observe in the sensor history are not triggering my automations.
If I look at the state under Dev tools >> states I can see the state change appropriately. However when I go to edit my automation, under triggers I have State selected, when I go to the dropdown for the “To” field, I would expect to see the known states of the sensor (i.e. stop, run) which is what I saw when I set up the automation. Now my only options are
Any State (ignoring attribute changes)
Unavailable
Unknown
I manually put in the state I want to act on which in this case is stop, even though it’s not a selectable option. Now, if I manually tirgger the state change via the dev tools >> state’s page, it triggers the notification, but if the state changes naturally by using the washer or dryer, the automation never triggers.
Something else I’ve noticed is that state changes from the washer and dryer do not generate logbook entries. However, if I trigger a state change manually, those get logged to the log book.
Any assistance is appreicated!