- id: '1709331511622' alias: BagnoPT-heat_save description: When someone leaves the window open set heat temperature to low value to save power triggers: - type: opened device_id: f93100fe27b6e5bbb01435d9c7c62c39 entity_id: e9b204a2e6a6c7c7c26ecb7099d87a11 domain: binary_sensor trigger: device conditions: - condition: numeric_state entity_id: sensor.esterno_temperature below: 18 actions: - device_id: 7743d6b58e5c464426e4b53416a74c7a domain: climate entity_id: d23578d0c01a087c7c2247fa8fab1113 type: set_hvac_mode hvac_mode: 'off' mode: single - id: '1709332450679' alias: Bagno-PT-restart_heating description: When Finestra-Bagno-PT and window is closed and external temperature is below 18 set valvola termosifone to Auto triggers: - type: not_opened trigger: device device_id: f93100fe27b6e5bbb01435d9c7c62c39 entity_id: e9b204a2e6a6c7c7c26ecb7099d87a11 domain: binary_sensor condition: - condition: numeric_state entity_id: sensor.esterno_temperature below: 18 action: - device_id: 7743d6b58e5c464426e4b53416a74c7a domain: climate entity_id: d23578d0c01a087c7c2247fa8fab1113 type: set_hvac_mode hvac_mode: heat mode: single - id: '1709401667410' alias: Luce Scala Taverna (sensore alto) description: Attiva Luce Scala Taverna su presenza use_blueprint: path: homeassistant/motion_light.yaml input: motion_entity: binary_sensor.presenza_alta_scala_taverna_occupancy light_target: device_id: 226779fb30bd68c5a2784ccd762d90e9 no_motion_wait: 20 - id: '1728486287191' alias: Luce Scala Taverna (sensore basso) description: Attiva Luce Scala Taverna su presenza use_blueprint: path: homeassistant/motion_light.yaml input: motion_entity: binary_sensor.presenza_bassa_scala_taverna_occupancy light_target: device_id: 226779fb30bd68c5a2784ccd762d90e9 no_motion_wait: 20 - id: '1728594248560' alias: Luce Scala Mansarda (sensore alto) description: Attiva Luce Scala Mansarda su presenza use_blueprint: path: homeassistant/motion_light_custom.yaml input: motion_entity: binary_sensor.presenza_alta_scala_mansarda_occupancy light_target: device_id: 702137a6f2c17b89fdb0598f7003743c no_motion_wait: 20 - id: '1728594117428' alias: Luce Scala Mansarda (sensore basso) description: Attiva Luce Scala Mansarda su presenza use_blueprint: path: homeassistant/motion_light_custom.yaml input: motion_entity: binary_sensor.presenza_bassa_scala_mansarda_occupancy light_target: device_id: 702137a6f2c17b89fdb0598f7003743c no_motion_wait: 20 - id: '1729866028559' alias: example_heat_off description: '' triggers: - type: opened device_id: ccef009d1d350a83038001fc7d79aaca entity_id: 60ed1a5a3fb74da5ba62b7fb986eb607 domain: binary_sensor trigger: device conditions: - condition: numeric_state entity_id: sensor.esterno_temperature below: '18' actions: - if: - condition: state entity_id: binary_sensor.bagnoovest_finestra_contact state: 'on' for: hours: 0 minutes: 0 seconds: 10 then: - action: climate.set_hvac_mode metadata: {} data: hvac_mode: 'off' target: entity_id: climate.bagnoovest_termosifone - device_id: 4d7cfffa600d43fc0364ef5d6f18b4a8 domain: climate entity_id: 400abc59ce63c0a4f056e2d4a8b7c50c type: set_hvac_mode hvac_mode: heat else: - action: climate.set_hvac_mode metadata: {} data: hvac_mode: heat target: entity_id: climate.bagnoovest_termosifone mode: single - id: '1729875991469' alias: BagnoOvest-save-energy description: Thermostat will close upon window open use_blueprint: path: homeassistant/heat_save.yaml input: window_sensor: binary_sensor.bagnoovest_finestra_contact climate_target: climate.bagnoovest_termosifone