feat: Migrate all notifications to Home Assistant native
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user