Advertisement
asyscom

Untitled

Jan 29th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.41 KB | None | 0 0
  1. - alias: termostato
  2.   hide_entity: true
  3.   trigger:
  4.   - platform: time_pattern
  5.     minutes: 1
  6.   condition:
  7.     condition: and
  8.     conditions:
  9.     - condition: template
  10.       value_template: '{{ states.sensor.temperature_158d0002b549f4.state|float > 15}}'
  11.     - condition: time
  12.       after: '05:30:00'
  13.       before: '21:00:00'
  14.   action:
  15.   - data:
  16.      message: caldaia accesa
  17.     service: notify.telegram
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement