Advertisement
asyscom

Untitled

Jan 30th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.13 KB | None | 0 0
  1. climate:
  2.   - platform: generic_thermostat
  3.     name: Termostato
  4.     heater: switch.termostato
  5.     target_sensor: sensor.temperature_158d0002b549f4
  6.     min_temp: 15
  7.     max_temp: 23
  8.     ac_mode: false
  9.     #target_temp: 17
  10.     cold_tolerance: 0.2
  11.     #hot_tolerance: 0
  12.     min_cycle_duration:
  13.       seconds: 5
  14.     #keep_alive:
  15.     #  minutes: 3
  16.     initial_operation_mode: "off"
  17.     #away_temp: 16
  18.     #precision: 0.1
  19.  
  20. ###in automation###
  21.  
  22. - alias: Riscaldamento giorno
  23.   trigger:
  24.     - platform: time
  25.       at: '05:30:00'
  26.     - platform: homeassistant
  27.       event: start
  28.   condition:
  29.     condition: time
  30.     after: '05:30:00'
  31.     before: '21:00:00'
  32.   action:
  33.     service: climate.set_temperature
  34.     entity_id: sensor.temperature_158d0002b549f4
  35.     data:
  36.       temperature: 21
  37. - alias: Riscaldamento notte
  38.   trigger:
  39.     - platform: time
  40.       at: '21:00:00'
  41.     - platform: homeassistant
  42.       event: start
  43.   condition:
  44.     condition: time
  45.     after: '21:00:00'
  46.     before: '05:30:00'
  47.   action:
  48.     service: climate.set_temperature
  49.     entity_id: sensor.temperature_158d0002b549f4
  50.     data:
  51.      temperature: 17
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement