ZWave.node_error event WAS:Automation trigger off state change error

When one sends the command to change state of a device, whether manually or via an automation, and homeassistant fails to complete that state change (for whatever reason - device unreachable, internal homeassistant error, etc) it would be good to be able to use this as a trigger for an error handling automation. To send a notification, for example.

Currently the only way I can think to do this is to watch the log file for certain errors.

Today I thought I remotely turned on my sprinkler on a 30 minute timer but the ‘off’ command at the end quietly failed and I got home 5 hours later to find my grass still being watered :stuck_out_tongue:

Updated the title to make the request a bit more specific. It may be best to introduce a zwave node error event that can be used as a trigger, or perhaps a more generic device error event.