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

View File

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