This doesn't need to be merged at the moment. I just wanted to share the proof-of-concept we did on the phone. I'll have a think and refine it to something more useful soon.
Something I forgot to mention when we talked; is that the event names you see in the YAML file are not the only ones you can use. You can make any combination of states to form an event. I have documenting this on my to-dos, but you can also get clues about possible events from the default debug level.
This doesn't need to be merged at the moment. I just wanted to share the proof-of-concept we did on the phone. I'll have a think and refine it to something more useful soon.
The two lines I modified are:
Something I forgot to mention when we talked; is that the event names you see in the YAML file are not the only ones you can use. You can make any combination of states to form an event. I have documenting this on my to-dos, but you can also get clues about possible events from the default debug level.