feat: Migrate all notifications to Home Assistant native

This commit is contained in:
2024-09-02 11:14:24 -07:00
parent 48d56ff832
commit 4885f3d993
2 changed files with 10 additions and 10 deletions

View File

@@ -109,7 +109,7 @@ automation:
entity_id: input_select.climate_mode entity_id: input_select.climate_mode
data: data:
option: Paused option: Paused
- service: notify.telegram_home - service: notify.general
data: data:
message: HVAC Paused (Window or Door Open) message: HVAC Paused (Window or Door Open)
@@ -142,7 +142,7 @@ automation:
entity_id: climate.thermostat entity_id: climate.thermostat
data: data:
hvac_mode: "{{ 'off' if is_state('input_select.climate_mode', 'Off') else 'heat_cool' }}" hvac_mode: "{{ 'off' if is_state('input_select.climate_mode', 'Off') else 'heat_cool' }}"
- service: notify.telegram_home - service: notify.general
data: data:
message: HVAC Restored (Window or Door Open) message: HVAC Restored (Window or Door Open)

View File

@@ -2,18 +2,18 @@
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Notification Platforms # Notification Platforms
telegram_bot: # telegram_bot:
- platform: broadcast # - platform: broadcast
api_key: !secret telegram_api_key # api_key: !secret telegram_api_key
allowed_chat_ids: # allowed_chat_ids:
- !secret telegram_chat_id # - !secret telegram_chat_id
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Main Notification Sink # Main Notification Sink
notify: notify:
- name: telegram_home # - name: telegram_home
platform: telegram # platform: telegram
chat_id: !secret telegram_chat_id # chat_id: !secret telegram_chat_id
# - name: pushover_home # - name: pushover_home
# platform: pushover # platform: pushover