action:
- choose:
# Switch on
- - conditions:
- - condition: template
- value_template: "{{ now().month == 11 and now().day == 1 }}"
+ - conditions: "{{ now().month == 11 and now().day == 1 }}"
sequence:
- service: input_boolean.turn_on
data_template:
message: "Il riscaldamento centralizzato รจ stato acceso"
# Switch off
- - conditions:
- - condition: template
- value_template: "{{ now().month == 4 and now().day == 15 }}"
+ - conditions: "{{ now().month == 4 and now().day == 15 }}"
sequence:
- service: input_boolean.turn_on
data_template:
trigger:\r
platform: mqtt\r
topic: 'zigbee2mqtt/bridge/log'\r
- condition:\r
- condition: template\r
- value_template: '{{trigger.payload_json.type == "pairing" and trigger.payload_json.message == "interview_successful"}}'\r
+ condition: '{{trigger.payload_json.type == "pairing" and trigger.payload_json.message == "interview_successful"}}'\r
action:\r
- service: persistent_notification.create\r
data_template:\r