Update to the current version
Some checks failed
Savin's Home Assistant / build (push) Failing after 1m45s

This commit is contained in:
2025-05-11 16:06:31 -04:00
parent d45649f8b8
commit 26d86dec90
55 changed files with 10355 additions and 2245 deletions

View File

@ -24,10 +24,16 @@
{% if area_id(trigger.entity_id) in label_areas('bathroom') -%}
{{ area_entities(area_name(trigger.entity_id)) | select('match', 'fan') | list | first }}
{%- endif %}
# - fan.bathroom_master
- service: notify.telegram_alex
data_template:
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 4
message_tag: app_humidity_suppression
title: "[Home Assistant] Humidity Suppression"
message: 'Humidity suppression has started in {{ area_name(trigger.entity_id) }} ({{ area_id(trigger.entity_id) }})'
# - service: notify.telegram_alex
# data_template:
# message: 'Humidity suppression has started in {{ area_name(trigger.entity_id) }} ({{ area_id(trigger.entity_id) }})'
- id: app_humidity_suppression_off
alias: '[App] Humidity Suppression OFF'
@ -48,7 +54,13 @@
{% if area_id(trigger.entity_id) in label_areas('bathroom') -%}
{{ area_entities(area_name(trigger.entity_id)) | select('match', 'fan') | list | first }}
{%- endif %}
# - fan.bathroom_master
- service: notify.telegram_alex
data_template:
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 4
message_tag: app_humidity_suppression
title: "[Home Assistant] Humidity Suppression"
message: 'Humidity suppression has done in {{ area_name(trigger.entity_id) }} ({{ area_id(trigger.entity_id) }})'
# - service: notify.telegram_alex
# data_template:
# message: 'Humidity suppression has done in {{ area_name(trigger.entity_id) }} ({{ area_id(trigger.entity_id) }})'

View File

@ -30,9 +30,16 @@
- media_player.onju_voice_04_onju_voice_04
- media_player.onju_voice_05_onju_voice_05
volume_level: 0.25
- service: notify.telegram_alex
data_template:
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 4
message_tag: night_mode_finished
title: "[Home Assistant] Night Mode"
message: 'Voice Assistant Night mode is started'
# - service: notify.telegram_alex
# data_template:
# message: 'Voice Assistant Night mode is started'
- id: app_va_night_mode_off
alias: '[App] Voice Assistants Night Mode OFF'
@ -57,6 +64,13 @@
- media_player.onju_voice_04_onju_voice_04
- media_player.onju_voice_05_onju_voice_05
volume_level: 1
- service: notify.telegram_alex
data_template:
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 4
message_tag: night_mode_finished
title: "[Home Assistant] Night Mode"
message: 'Voice Assistant Night mode is finished'
# - service: notify.telegram_alex
# data_template:
# message: 'Voice Assistant Night mode is finished'

View File

@ -7,9 +7,17 @@
entity_id: binary_sensor.smoke_detector_01
to: "on"
action:
- service: notify.telegram_alex
data_template:
message: "Smoke Detected"
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 3
message_tag: night_mode_finished
title: "[Home Assistant] Night Mode"
message: 'Smoke/Fire is detected'
# - service: notify.telegram_alex
# data_template:
# message: "Smoke Detected"
- id: co_detected
alias: '[App] CO Detected'
@ -19,6 +27,13 @@
entity_id: binary_sensor.carbon_monoxide_detector_01
to: "on"
action:
- service: notify.telegram_alex
data_template:
message: "CO Detected"
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 3
message_tag: night_mode_finished
title: "[Home Assistant] Night Mode"
message: 'Carbon monoxide is detected'
# - service: notify.telegram_alex
# data_template:
# message: "CO Detected"

View File

@ -7,6 +7,13 @@
entity_id: update.home_assistant_core_update
to: 'on'
action:
- service: notify.telegram_alex
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 3
message_tag: night_mode_finished
title: "[Home Assistant] New Version"
message: "New HA version ({{ state_attr('update.home_assistant_core_update', 'latest_version') }}) has been release"
# - service: notify.telegram_alex
# data:
# message: "New HA version ({{ state_attr('update.home_assistant_core_update', 'latest_version') }}) has been release"

View File

@ -17,9 +17,16 @@
- service: lock.lock
data:
entity_id: lock.lock_01
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 3
message_tag: night_mode_finished
title: "[Home Assistant] Security"
message: 'Lock is being locked by automation'
# - service: persistent_notification.create
# data:
# message: "Lock is being locked by automation"
- service: notify.telegram_alex
data:
message: "Lock is being locked by automation"
# - service: notify.telegram_alex
# data:
# message: "Lock is being locked by automation"

View File

@ -1,4 +1,15 @@
---
# source_list: Windows 11, PlayStation 4 Pro, Nvidia Shield TV, Unifi Protect, TV/Nothing, Sonos, ChromeCast/Network, Bluetooth
# friendly_name: VSX-LX505
# supported_features: 69516
# video_out: yes,out
# video_information:
# video_input_port: No Video
# input_resolution: Unknown
#input_color_depth: 24bit
# output_resolution: Unknown
# output_color_depth: 24bit
- alias: "[Media] Projector mode"
id: media_switching_to_projector_mode
initial_state: "true"
@ -22,24 +33,19 @@
- service: media_player.onkyo_select_hdmi_output
data:
entity_id: media_player.onkyo_receiver
hdmi_output: out-sub
hdmi_output: out-sub # out | out-sub | sub/both
- delay: "00:00:01"
- service: button.press
target:
entity_id:
- button.esp8266_hdmi_cec_01_turn_active_source
# - button.esp8266_hdmi_cec_01_turn_everything_off
# - service: remote.send_command
# target:
# entity_id: remote.broadlink_rm4_mini
# data:
# device: projector_lg_hu810pw
# command:
# - "Power Off"
# - "b64:JgBYAAABII8TERMSEjcTERMRExISEhISEjYTNxISEjYTNhI2EjcTNhISEhITERM1ExITEhISExETNhI2EjcTERM2EjYTNhI3EgAFAAABIUgSAAwTAAEhRxMADQU="
- service: notify.telegram_alex
- service: telegram_bot.send_message
data:
message: "Switching to media system to the Projector mode"
target: "-1002338954143"
message_thread_id: 4
message_tag: night_mode_finished
title: "[Home Assistant] Media System"
message: 'Switching to media system to the Projector mode'
- alias: "[Media] TV mode"
id: media_switching_to_tv_mode
@ -49,6 +55,10 @@
entity_id: select.living_room_harmony_hub_activities
to: "ShTV+AVR+TV"
action:
# - service: button.press
# target:
# entity_id:
# - button.esp8266_hdmi_cec_01_turn_everything_off
- choose:
- conditions:
- condition: state
@ -71,9 +81,18 @@
data:
entity_id: media_player.onkyo_receiver
hdmi_output: out
- service: notify.telegram_alex
- delay: "00:00:01"
- service: button.press
target:
entity_id:
- button.esp8266_hdmi_cec_02_turn_active_source
- service: telegram_bot.send_message
data:
message: "Switching to media system to the TV mode"
target: "-1002338954143"
message_thread_id: 4
message_tag: night_mode_finished
title: "[Home Assistant] Media System"
message: 'Switching to media system to the TV mode'
- alias: "[Media] Off mode"
id: media_switching_off
@ -86,6 +105,18 @@
- service: cover.close_cover
data:
entity_id: cover.motor_01
- service: notify.telegram_alex
- service: button.press
target:
entity_id:
- button.esp8266_hdmi_cec_01_turn_everything_off
- service: button.press
target:
entity_id:
- button.esp8266_hdmi_cec_02_turn_everything_off
- service: telegram_bot.send_message
data:
message: "Switching off media system"
target: "-1002338954143"
message_thread_id: 4
message_tag: night_mode_finished
title: "[Home Assistant] Media System"
message: 'Switching OFF media system'

View File

@ -1,47 +1,7 @@
---
- alias: '[Frigate] Person enters Driveway Zone'
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone_driveway' in trigger.payload_json['after']['entered_zones'] }}"
action:
- service: notify.telegram_alex
data:
message: "A {{trigger.payload_json['after']['label']}} has entered the yard."
data:
photo:
- url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# caption: "{{trigger.payload_json['after']['id']}}"
- alias: '[Frigate] Person leaves Driveway Zone'
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone_driveway' in trigger.payload_json['before']['current_zones'] }}"
- condition: template
value_template: "{{ not 'zone_driveway' in trigger.payload_json['after']['current_zones'] }}"
action:
- service: notify.telegram_alex
data:
message: "A {{trigger.payload_json['after']['label']}} has left the yard."
data:
photo:
- url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# caption: "{{trigger.payload_json['after']['id']}}"
- alias: '[Frigate] Person detected by Doorbell camera'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
@ -53,10 +13,309 @@
- condition: template
value_template: "{{ trigger.payload_json['after']['camera'] == 'doorbell' }}"
action:
- service: notify.telegram_alex
data_template:
message: 'Person detected by Doorbell camera'
data:
photo:
- url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# caption: "{{trigger.payload_json['after']['id']}}"
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "Person detected by Doorbell camera"
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person detected by Doorbell camera (Face)'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'face' }}"
- condition: template
value_template: "{{ trigger.payload_json['after']['camera'] == 'doorbell' }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "Person (Face) detected by Doorbell camera"
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] License plate detected by Doorbell camera'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'license_plate' }}"
- condition: template
value_template: "{{ trigger.payload_json['after']['camera'] == 'doorbell' }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "License plate detected by Doorbell camera"
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
#- alias: '[Frigate] Car detected by Doorbell camera'
# trigger:
# platform: mqtt
# topic: frigate/events
# condition:
# condition: and
# conditions:
# - condition: template
# value_template: "{{ trigger.payload_json['after']['label'] == 'car' }}"
# - condition: template
# value_template: "{{ trigger.payload_json['after']['camera'] == 'doorbell' }}"
# action:
# - service: telegram_bot.send_photo
# data:
# target: "-1002338954143"
# message_thread_id: 2
# message_tag: frigate
# caption: "Car detected by Doorbell camera"
# url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person enters Driveway Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-frontyard-driveway-1' in trigger.payload_json['after']['entered_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has entered the driveway."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person leaves Driveway Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-frontyard-driveway-1' in trigger.payload_json['before']['current_zones'] }}"
- condition: template
value_template: "{{ not 'zone-frontyard-driveway-1' in trigger.payload_json['after']['current_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has left the yard."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person enters Frontyard Property Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-frontyard-property-1' in trigger.payload_json['after']['entered_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has entered the frontyard."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person leaves Frontyard Property Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-frontyard-property-1' in trigger.payload_json['before']['current_zones'] }}"
- condition: template
value_template: "{{ not 'zone-frontyard-property-1' in trigger.payload_json['after']['current_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has left the frontyard."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person enters Side 1 Property Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-side1-property-1' in trigger.payload_json['after']['entered_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has entered the side 1."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person leaves Side 1 Property Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-side1-property-1' in trigger.payload_json['before']['current_zones'] }}"
- condition: template
value_template: "{{ not 'zone-side1-property-1' in trigger.payload_json['after']['current_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has left the side 1."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person enters Side 2 Property Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-side2-property-1' in trigger.payload_json['after']['entered_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has entered the side 2."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
- alias: '[Frigate] Person leaves Side 2 Property Zone'
mode: parallel
max: 10
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone-side2-property-1' in trigger.payload_json['before']['current_zones'] }}"
- condition: template
value_template: "{{ not 'zone-side2-property-1' in trigger.payload_json['after']['current_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has left the side 2."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
#- alias: '[Frigate] Car enters Driveway Zone'
# trigger:
# platform: mqtt
# topic: frigate/events
# condition:
# condition: and
# conditions:
# - condition: template
# value_template: "{{ trigger.payload_json['after']['label'] == 'car' }}"
# - condition: template
# value_template: "{{ 'zone-frontyard-driveway-1' in trigger.payload_json['after']['entered_zones'] }}"
# action:
# - service: telegram_bot.send_photo
# data:
# target: "-1002338954143"
# message_thread_id: 2
# message_tag: frigate
# caption: "A {{trigger.payload_json['after']['label']}} has entered the driveway."
# url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
#- alias: '[Frigate] Car leaves Driveway Zone'
# trigger:
# platform: mqtt
# topic: frigate/events
# condition:
# condition: and
# conditions:
# - condition: template
# value_template: "{{ trigger.payload_json['after']['label'] == 'car' }}"
# - condition: template
# value_template: "{{ 'zone-frontyard-driveway-1' in trigger.payload_json['before']['current_zones'] }}"
# - condition: template
# value_template: "{{ not 'zone-frontyard-driveway-1' in trigger.payload_json['after']['current_zones'] }}"
# action:
# - service: telegram_bot.send_photo
# data:
# target: "-1002338954143"
# message_thread_id: 2
# message_tag: frigate
# caption: "A {{trigger.payload_json['after']['label']}} has left the yard."
# url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# - service: notify.telegram_alex
# data:
# message: "A {{trigger.payload_json['after']['label']}} has entered the yard."
# data:
# photo:
# - url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# # caption: "{{trigger.payload_json['after']['id']}}"

View File

@ -0,0 +1,86 @@
---
- alias: '[Frigate] Person enters Driveway Zone'
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone_driveway' in trigger.payload_json['after']['entered_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has entered the driveway."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# - service: notify.telegram_alex
# data:
# message: "A {{trigger.payload_json['after']['label']}} has entered the yard."
# data:
# photo:
# - url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# # caption: "{{trigger.payload_json['after']['id']}}"
- alias: '[Frigate] Person leaves Driveway Zone'
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ 'zone_driveway' in trigger.payload_json['before']['current_zones'] }}"
- condition: template
value_template: "{{ not 'zone_driveway' in trigger.payload_json['after']['current_zones'] }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "A {{trigger.payload_json['after']['label']}} has left the yard."
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# - service: notify.telegram_alex
# data:
# message: "A {{trigger.payload_json['after']['label']}} has left the driveway."
# data:
# photo:
# - url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# # caption: "{{trigger.payload_json['after']['id']}}"
- alias: '[Frigate] Person detected by Doorbell camera'
trigger:
platform: mqtt
topic: frigate/events
condition:
condition: and
conditions:
- condition: template
value_template: "{{ trigger.payload_json['after']['label'] == 'person' }}"
- condition: template
value_template: "{{ trigger.payload_json['after']['camera'] == 'doorbell' }}"
action:
- service: telegram_bot.send_photo
data:
target: "-1002338954143"
message_thread_id: 2
message_tag: frigate
caption: "Person detected by Doorbell camera"
url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# - service: notify.telegram_alex
# data_template:
# message: 'Person detected by Doorbell camera'
# data:
# photo:
# - url: "https://objects.savin.nyc/api/events/{{trigger.payload_json['after']['id']}}/thumbnail.jpg"
# # caption: "{{trigger.payload_json['after']['id']}}"

View File

@ -0,0 +1,45 @@
---
- id: notification_washer_changed_status
alias: '[Notification] Washer changed status'
initial_state: 'true'
trigger:
platform: state
entity_id: sensor.washtower_washer_current_status
action:
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 4
message_tag: kitchen_appliances
title: "[Home Assistant] Laundry is finished"
message: 'Washer changes status to {{ trigger.to_state.state }}'
- id: notification_dryer_changed_status
alias: '[Notification] Dryer changed status'
initial_state: 'true'
trigger:
platform: state
entity_id: sensor.washtower_dryer_current_status
action:
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 4
message_tag: kitchen_appliances
title: "[Home Assistant] Dryer changed status"
message: 'Dryer changes status to {{ trigger.to_state.state }}'
- id: notification_dishwasher_changed_status
alias: '[Notification] Dishwasher changed status'
initial_state: 'true'
trigger:
platform: state
entity_id: sensor.dishwasher_current_status
action:
- service: telegram_bot.send_message
data:
target: "-1002338954143"
message_thread_id: 4
message_tag: kitchen_appliances
title: "[Home Assistant] Dishwasher changed status"
message: 'Dishwasher changes status to {{ trigger.to_state.state }}'

View File

@ -14,9 +14,17 @@
- condition: template
value_template: "{{ states('sensor.lock_01_alarm_type') | int == 0 }}"
action:
- service: notify.telegram_alex
- service: telegram_bot.send_message
data:
message: "Someone entered the wrong code"
target: "-1002338954143"
message_thread_id: 3
message_tag: night_mode_finished
title: "[Home Assistant] Security"
message: 'Someone entered the wrong code'
# - service: notify.telegram_alex
# data:
# message: "Someone entered the wrong code"
# - service: notify.mobile_app_alex_google_pixel_7_pro
# data:
# message: Someone entered the wrong code