diff --git a/README.md b/README.md index 2f83929..82e8ae8 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ I also have a [public Notion board](https://www.notion.so/denysdovhan/f09ea06da5 ## Addons -running these addons +I run Home Assistant OS with these addons: @@ -36,6 +36,8 @@ running these addons ## Automation +My home is awakened by these automations. You can browse them by categories. Links will guide you to the specific automation in `automations.yaml` file. + 1. [🚨 Alarm](#-alarm) (2 automation) diff --git a/automations.yaml b/automations.yaml index d1117de..fafaa5a 100644 --- a/automations.yaml +++ b/automations.yaml @@ -1500,11 +1500,11 @@ alias: 'Vacuum: Ask Regular Cleaning' description: Regular vacuum cleaning every two days trigger: - - platform: time_pattern - hours: /4 + - alias: Every 4 hours + platform: time_pattern + hours: /6 minutes: 0 seconds: 0 - alias: Every 4 hours condition: - alias: Robot is docked condition: state @@ -2217,14 +2217,49 @@ entity_id: counter.vacuum_clean_count mode: single - id: '1713206119052' - alias: 'System: Run chores in /config folder' + alias: 'System: Run chores in config folder' description: Run scripts for generating README, commiting regular updated, etc trigger: - platform: time_pattern - minutes: /5 + hours: /12 condition: [] action: - service: shell_command.chores metadata: {} data: {} mode: single +- id: '1713211565263' + alias: 'Alert: Denys is leaving the office' + description: Notify when Denys is leaving the office + trigger: + - platform: state + entity_id: + - person.denys + from: Wix + for: + hours: 0 + minutes: 0 + seconds: 0 + condition: + - condition: state + entity_id: person.marry + state: home + - condition: time + after: '17:00:00' + before: '22:00:00' + - condition: state + entity_id: binary_sensor.workday_sensor + state: 'on' + action: + - service: script.announcement + data: + service: notify.all + speak: false + notify: true + title: "\U0001F3C3 ДСнис " + messages: + - ДСнис вийшов Π· Ρ€ΠΎΠ±ΠΎΡ‚ΠΈ. + - ДСнис Ρ—Π΄Π΅ Π΄ΠΎΠ΄ΠΎΠΌΡƒ. + - ДСнис Π²ΠΈΡ—Ρ…Π°Π² Π· Ρ€ΠΎΠ±ΠΎΡ‚ΠΈ. + notify_data: {} + mode: single