This file contains 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 characters
# This condition will be true if your home is empty | |
condition: | |
- condition: state | |
entity_id: zone.home | |
state: "0" | |
# This condition will be true if your home is occupied | |
condition: | |
- condition: numeric_state | |
entity_id: zone.home |
This file contains 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 characters
# https://www.home-assistant.io/integrations/template/ | |
template: | |
- binary_sensor: | |
- name: home_occupied | |
unique_id: home_occupied | |
state: "{{states('zone.home')|int > 0}}" | |
device_class: occupancy | |
attributes: | |
is_home_full: "{{states('zone.home')|int == expand(states.person)|list|count}}" |
This file contains 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 characters
turn_on_kitchen_lights_and_wait_3_seconds: | |
alias: Turn on Kitchen Lights and Wait 3 seconds | |
sequence: | |
- service: light.turn_on | |
data: {} | |
target: | |
entity_id: light.kitchen_lights | |
- delay: | |
hours: 0 | |
minutes: 0 |
This file contains 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 characters
- id: '1688129246113' | |
alias: Irrigation intelligente - Calculer fin arrosage | |
description: '' | |
trigger: | |
- platform: state | |
entity_id: | |
- switch.irrigation_switch | |
to: 'on' | |
from: 'off' | |
condition: |
This file contains 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 characters
type: entities | |
entities: | |
- type: button | |
icon: mdi:format-list-bulleted-type | |
name: Journal | |
action_name: NAVIGER | |
tap_action: | |
action: navigate | |
navigation_path: /logbook | |
- type: button |
This file contains 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 characters
alias: Raise The Desk | |
trigger: | |
- platform: conversation | |
command: raise the desk | |
action: | |
- service: button.press | |
target: | |
entity_id: button.standing_desk_move_desk_to_position_1 | |
mode: single |
This file contains 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 characters
template: | |
- sensor: | |
- name: pending_updates | |
unique_id: pending_updates | |
state: | | |
{{ | |
expand(states.update) | |
| selectattr('state', 'eq', 'on') | |
| list | |
| count |
This file contains 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 characters
alias: Flash Ceiling lights Red | |
sequence: | |
- service: scene.create | |
data: | |
scene_id: previous_ceiling_lights_state | |
snapshot_entities: | |
- light.ceiling_lights | |
- service: light.turn_on | |
data: | |
rgb_color: |
This file contains 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 characters
type: horizontal-stack | |
cards: | |
- type: custom:mushroom-template-card | |
primary: JL | |
secondary: |- | |
{% if is_state("person.person_1", "home") -%} | |
Présent | |
{%- elif is_state("person.person_1", "not_home") -%} | |
{{ state_attr("sensor.person_1_android_geocoded_location", "locality") }}{% if not is_state_attr("sensor.person_1_android_geocoded_location", "iso_country_code", "FR") %} - {{ state_attr("sensor.person_1_android_geocoded_location", "country") }}{%- endif %} | |
{%- else -%} |
OlderNewer