Last active
April 1, 2024 12:03
-
-
Save AkdM/e62a45747aa3ebb727537589800980e8 to your computer and use it in GitHub Desktop.
Revisions
-
AkdM revised this gist
Apr 1, 2024 . 1 changed file with 12 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,21 +7,29 @@ - platform: template switches: tado_away_mode: value_template: "{{ is_state('sensor.maisonere_tado_mode', 'AWAY') }}" turn_on: - service: climate.set_preset_mode target: entity_id: # From my tests, you only need to provide the climate of only one Tado device - climate.salon - climate.chambre - climate.cuisine - climate.salle_de_bain data: preset_mode: away - service: notify.notify data: title: "Maisson" message: "Chauffage: Mode absent" turn_off: - service: climate.set_preset_mode target: entity_id: # From my tests, you only need to provide the climate of only one Tado device - climate.salon - climate.chambre - climate.cuisine - climate.salle_de_bain data: preset_mode: home - service: notify.notify -
AkdM created this gist
Apr 1, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ … homekit: !include configurations/homekit.yaml switch: !include configurations/switches.yaml … This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ … - name: HASS Homekit Bridge mode: bridge port: 21063 filter: include_entities: - switch.tado_away_mode # <- to add if needed … This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,30 @@ # configurations/switches.yaml # More informations at: https://www.home-assistant.io/integrations/switch.template/ # Tado Heating - Away Mode Toggle # On: away mode # Off: home mode - platform: template switches: tado_away_mode: value_template: "{{ is_state('sensor.heating_tado_mode', 'AWAY') }}" turn_on: - service: climate.set_preset_mode target: entity_id: climate.heating data: preset_mode: away - service: notify.notify data: title: "Maison" message: "Chauffage: Mode absent" turn_off: - service: climate.set_preset_mode target: entity_id: climate.heating data: preset_mode: home - service: notify.notify data: title: "Maison" message: "Chauffage: Mode maison"