I want to do the following but am confused how I'd do this in Composer. Here's a made up example to illustrate:
IF Garage Door 1 is CLOSED and Garage Door 2 is CLOSED and Garage Door 3 is CLOSED and Garage Door 4 is CLOSED and Garage Door 5 is CLOSED
THEN Send an Alert
I get confused as Composer wants everything to trigger off a device but there's none in this case. Like if I wanted the above to run when I press a keypad button then that's easy, but I want it to trigger based on the state of multiple devices. In this example, send an alert when ALL garage doors are closed, and only when all are closed.
If I was doing this in Home Assistant the trigger would literally be:
"If the state of Garage Door 1 equals CLOSED and the state of Garage Door 2 equals CLOSED and the state of Garage Door 3 equals CLOSED and the state of Garage Door 4 equals CLOSED and the state of Garage Door 5 equals CLOSED"
The only other thought I had was doing a timer and having the timer expiry have the conditions above, but that's clunky and not instant.
Question
416to305
I want to do the following but am confused how I'd do this in Composer. Here's a made up example to illustrate:
IF Garage Door 1 is CLOSED and Garage Door 2 is CLOSED and Garage Door 3 is CLOSED and Garage Door 4 is CLOSED and Garage Door 5 is CLOSED
THEN Send an Alert
I get confused as Composer wants everything to trigger off a device but there's none in this case. Like if I wanted the above to run when I press a keypad button then that's easy, but I want it to trigger based on the state of multiple devices. In this example, send an alert when ALL garage doors are closed, and only when all are closed.
If I was doing this in Home Assistant the trigger would literally be:
"If the state of Garage Door 1 equals CLOSED and the state of Garage Door 2 equals CLOSED and the state of Garage Door 3 equals CLOSED and the state of Garage Door 4 equals CLOSED and the state of Garage Door 5 equals CLOSED"
The only other thought I had was doing a timer and having the timer expiry have the conditions above, but that's clunky and not instant.
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.