Queria que os meus estores fechassem durante o dia, quando a temperatura atingisse X graus
Não deveria ficar assim?
- id: '1594930320398'
alias: Fecha Estores por temperatura
trigger:
- above: '30'
below: '50'
entity_id: weather.casa
platform: numeric_state
condition:
- after: '10:00:00'
before: '19:00:00'
condition: time
action:
- data: {}
service: script.fechaosestores