4
« dnia: Października 25, 2020, 23:20:26 »
Witam!!! Mam jeszcze problem z jedną automatyzacją. muszę wstawić warunek że jeśli switch.sonoff_1000ba90b5_4 jest wyłączony wtedy może się ta automatyzacja wykonać a jeśli jest załączony to nie.
- id: '1603398619012'
alias: Test Podłogówka
description: Podłogówka test
trigger:
- platform: time_pattern
minutes: /15
condition:
- condition: numeric_state
entity_id: sensor.temp_jadalnia
attribute: value_1
above: '23.1'
below: '25.5'
- condition: and
conditions:
- condition: numeric_state
entity_id: sensor.sonoff_10008cfc88_temperature
attribute: temperature
below: '19'
action:
- service: switch.turn_on
data: {}
entity_id: switch.sonoff_1000ba90b5_4
- delay: 00:00:60
- service: switch.turn_off
data: {}
entity_id: switch.sonoff_1000ba90b5_4
mode: single