As you are using the same service to open and close your cover you should guard against pressing a button twice, which will have the opposite effect to what you want.
open_cover:
- condition: state
entity_id: cover.garage_door
state: closed
- service: switch.toggle
data:
entity_id: switch.shutter
close_cover:
- condition: state
entity_id: cover.garage_door
state: open
- service: switch.toggle
data:
entity_id: switch.shutter
Are you sure you really want the toggle service?
Do you turn the switch on to open and close?
How does the switch get turned off?
Toggle just swaps the state, on toggles to off, or off toggles to on. “Toggle” does not generate a momentary pulse.
hi, I wanted some info, I have roller shutter actuators that don’t give me back the status if it is closed or open, can someone help me define the status of these actuators so I know if they are open or closed thanks in advance