From: Giorgio Ravera Date: Wed, 8 Apr 2020 19:45:50 +0000 (+0200) Subject: Added boost script for climate eq3 max X-Git-Url: http://git.giorgioravera.it/?a=commitdiff_plain;h=32bbb6ae47f8f72e24cc7a73b89d5e2fd335a50b;p=homeassistant.git Added boost script for climate eq3 max --- diff --git a/script/climate.yaml b/script/climate.yaml index f58f5d13..704c5d73 100644 --- a/script/climate.yaml +++ b/script/climate.yaml @@ -38,7 +38,7 @@ climate_daily_schedule: {% endif %} ###################################################################### -# Climate: Away Mode +# Climate: Away Mode On # Inputs: # - entity_id # - mode @@ -48,25 +48,44 @@ climate_daily_schedule: # - climate.set_temperature ###################################################################### -climate_away_mode: - alias: "Termosifoni: Modalità vacanza" +climate_away_mode_on: + alias: "Termosifoni: Attviva Modalità vacanza" sequence: - - service: climate.set_operation_mode + - service: climate.set_preset_mode data_template: entity_id: "{{ entity_id }}" - operation_mode: >- - {% if mode == 'on' %} - vacation - {% else %} - auto - {% endif %} - - delay: '00:00:30' + preset_mode: manual + - delay: '00:00:5' - service: climate.set_temperature data_template: entity_id: "{{ entity_id }}" - temperature: >- - {% if mode == 'on' %} - 10 - {% else %} - 19 - {% endif %} + temperature: 5 + - delay: '00:00:5' + - service: climate.set_preset_mode + data_template: + entity_id: "{{ entity_id }}" + preset_mode: vacation + - delay: '00:00:5' + - service: climate.set_preset_mode + data_template: + entity_id: "{{ entity_id }}" + preset_mode: vacation + +###################################################################### +# Climate: Away Mode Off +# Inputs: +# - entity_id +# - mode +# +# Operations: +# - climate.set_operation_mode +# - climate.set_temperature +###################################################################### + +climate_away_mode_off: + alias: "Termosifoni: Disattiva Modalità vacanza" + sequence: + - service: climate.set_preset_mode + data_template: + entity_id: "{{ entity_id }}" + preset_mode: auto diff --git a/ui-lovelace.yaml b/ui-lovelace.yaml index 31410e8a..bdff87c0 100644 --- a/ui-lovelace.yaml +++ b/ui-lovelace.yaml @@ -291,6 +291,46 @@ views: entity: climate.studio_termostato_studio - type: thermostat entity: climate.camera_termostato_camera + + - type: entities + title: Operazione sui Dispositivi + show_header_toggle: false + entities: + - type: call-service + name: Cucina + action_name: Attiva Boost + service: climate.set_preset_mode + service_data: + entity_id: climate.cucina_termostato_cucina + preset_mode: boost + - type: call-service + name: Sala + action_name: Attiva Boost + service: climate.set_preset_mode + service_data: + entity_id: climate.sala_termostato_sala + preset_mode: boost + - type: call-service + name: Bagno + action_name: Attiva Boost + service: climate.set_preset_mode + service_data: + entity_id: climate.bagno_termostato_bagno + preset_mode: boost + - type: call-service + name: Studio + action_name: Attiva Boost + service: climate.set_preset_mode + service_data: + entity_id: climate.studio_termostato_studio + preset_mode: boost + - type: call-service + name: Camera + action_name: Attiva Boost + service: climate.set_preset_mode + service_data: + entity_id: climate.camera_termostato_camera + preset_mode: boost ###################################################################### # People @@ -310,24 +350,28 @@ views: default_zoom: 15 entities: - device_tracker.google_maps_115265981849847357125 + hours_to_show: 48 - type: map #title: Laura aspect_ratio: 16:9 default_zoom: 15 entities: - device_tracker.google_maps_103158638433668748797 + hours_to_show: 48 - type: map #title: Anna aspect_ratio: 16:9 default_zoom: 15 entities: - device_tracker.google_maps_113099283296073047871 + hours_to_show: 48 - type: map #title: Assunta aspect_ratio: 16:9 default_zoom: 15 entities: - device_tracker.google_maps_108517379615429477419 + hours_to_show: 48 ###################################################################### # Car