mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-12-18 12:38:49 +00:00
Refactor automation scripts to log significant events to the Activity feed using script.send_to_logbook. This includes updates to high wind speed notifications, bad login attempts, trigger dumps, startup notifications, and various other automations across multiple packages, enhancing visibility and tracking of system activities.
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
###################################
|
||||
## Tornados are no Joke.
|
||||
###################################
|
||||
######################################################################
|
||||
# @CCOSTAN - Follow Me on X
|
||||
# For more info visit https://www.vcloudinfo.com/click-here
|
||||
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||
# -------------------------------------------------------------------
|
||||
# High Wind Alerts - Severe wind warnings (push + Activity feed)
|
||||
# Related Issue: 1550
|
||||
# Logs to Activity feed while keeping existing notifications and actions.
|
||||
# -------------------------------------------------------------------
|
||||
######################################################################
|
||||
|
||||
- alias: 'High Wind Speed Notification'
|
||||
id: 5cc158a5-038a-4078-a9fb-c9f9cf9ecd49
|
||||
@@ -17,6 +24,11 @@
|
||||
above: 60
|
||||
|
||||
action:
|
||||
- service: script.send_to_logbook
|
||||
data:
|
||||
topic: "WEATHER"
|
||||
message: >-
|
||||
Wind speed is {{ states('sensor.pirateweather_wind_speed') | round }} mph (thresholds: 30/40/60).
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
title: 'VERY HIGH WINDS:'
|
||||
|
||||
Reference in New Issue
Block a user