I’m wondering if it is possible to create a button for my android device that when pushed will operate multiple covers and possibly also switches or other devices. I would like to push one button to have my garage door and gate both open, my security system deactivate, and a light switch turn on, if the sun has set. I’m new to this, so just looking for some direction. How would I start this? Thanks!
this would be a typical automation. Based on an input sensor as trigger to start the actions, you would then sequentially execute what you want to do.
You could get some ideas from the below example that is taken from
What I want to show with this example is the trigger logic and then the sequence of actions.
```
automation 2:
# Notify me on my mobile phone of an event
trigger:
platform: sun
event: sunset
offset: -00:30
action:
# Actions are scripts so can also be a list of actions
- service: notify.notify
data:
message: Beautiful sunset!
- delay: 0:35
- service: notify.notify
data:
message: Oh wow you really missed something great.
```
Or use a button to fire a script.
Or scenes:
Plenty of ways to get there. Scripts or automations are easier to configure since you can reload those sections without restarting Home Assistant.