Hi!
I installed some electric roller shutters and would like to close them to 60 percent via an automation, which is triggered by an outdoor temperature sensor, but only those roller shutters, that are currently above 60 % open.
At the moment, the automation triggers if the temperature gets above 25°C and only if one of the roller shutters is open.
This results in all roller shutters opening, even if some of them are closed.
How can I make an automation, which only sets those roller shutters to 60% that are currently set at > 60 %, whithout having to make a separate automation for each of them?
Thanks!
EDIT, my current automation:
alias: Roller Shutter | Close partly when hot
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.nexus_th_1_46_t
above: '25'
condition:
- condition: or
conditions:
- condition: device
device_id: f9b6c08a41b6ca1221df0bc21a0ea1fc
domain: cover
entity_id: cover.jalousie_schlafzimmer
type: is_open
- condition: device
device_id: 63a9cc83cef3910148dba3d7d63dc4ca
domain: cover
entity_id: cover.jalousie_lenas_zimmer_1
type: is_open
- condition: device
device_id: 6987f622263b79686e691b49f08e842f
domain: cover
entity_id: cover.jalousie_lenas_zimmer_2
type: is_open
- condition: device
device_id: 0575e973ba312308785e7e3ea37209ac
domain: cover
entity_id: cover.jalousie_lenas_zimmer_3
type: is_open
- condition: device
device_id: 8dfcb4696ec40d05d5e084ab5d7c0ce4
domain: cover
entity_id: cover.jalousie_hannahs_zimmer
type: is_open
- condition: device
device_id: 7e47ce34609dc7fffec6df6d682a8d26
domain: cover
entity_id: cover.jalousie_wohnzimmer_fenster_seite
type: is_open
- condition: device
device_id: 365e595962b0183ffa7678dab193a835
domain: cover
entity_id: cover.jalousie_wohnzimmer_terrassen_fenster
type: is_open
action:
- service: cover.set_cover_position
target:
device_id:
- f9b6c08a41b6ca1221df0bc21a0ea1fc
- 8dfcb4696ec40d05d5e084ab5d7c0ce4
- 63a9cc83cef3910148dba3d7d63dc4ca
- 6987f622263b79686e691b49f08e842f
- 0575e973ba312308785e7e3ea37209ac
- 39aee59dc27ff8066e0efe3b32af16fe
- 7e47ce34609dc7fffec6df6d682a8d26
- 365e595962b0183ffa7678dab193a835
data:
position: 60
mode: single