Is there a way to trigger an automation for a change of state instead of on\off or open\closed? For example, I have two automations one that triggers a notification when the garage door opens and another when it closes. Is it possible to combine them into one automation for when the state changes?