From 4885f3d99326992fbff039f1360cc7da3cd8f2d1 Mon Sep 17 00:00:00 2001 From: "J.P. Krauss" Date: Mon, 2 Sep 2024 11:14:24 -0700 Subject: [PATCH] feat: Migrate all notifications to Home Assistant native --- packages/climate/climate.yaml | 4 ++-- packages/notification/notification.yaml | 16 ++++++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/climate/climate.yaml b/packages/climate/climate.yaml index 05f1bd4..01c3ae5 100644 --- a/packages/climate/climate.yaml +++ b/packages/climate/climate.yaml @@ -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) diff --git a/packages/notification/notification.yaml b/packages/notification/notification.yaml index 1992821..6e6d6c9 100644 --- a/packages/notification/notification.yaml +++ b/packages/notification/notification.yaml @@ -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