{% endif %}
######################################################################
-# Climate: Away Mode
+# Climate: Away Mode On
# Inputs:
# - entity_id
# - mode
# - 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
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
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