-
-
Save petersem/d1dec3d02f18ddba2dbc65677022c376 to your computer and use it in GitHub Desktop.
Dashboard yaml & notification automation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dashboard | |
- type: vertical-stack | |
cards: | |
- type: custom:auto-entities | |
theme: ios-dark-mode | |
card: | |
type: custom:battery-state-card | |
title: Battery Levels | |
color_gradient: | |
- '#ff0000' | |
- '#ffff00' | |
- '#00ff00' | |
filter: | |
include: | |
- entity_id: sensor.*_battery | |
- entity_id: sensor.*_battery_level | |
exclude: [] | |
sort: | |
method: state | |
reverse: false | |
numeric: true | |
#Automation - send to telegram | |
alias: Notify Check batteries < 20% | |
description: "" | |
use_blueprint: | |
path: Sbyx/low-battery-level-detection-notification-for-all-battery-sensors.yaml | |
input: | |
time: "19:00:00" | |
actions: | |
- service: telegram_bot.send_message | |
data: | |
title: Warning | |
message: Low batteries for {{sensors}} | |
threshold: 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment