Skip to content

Instantly share code, notes, and snippets.

@dpolyakov
dpolyakov / wake-up-light-alarm-with-sunrise-effect.yaml
Created July 8, 2024 12:48 — forked from sbyx/wake-up-light-alarm-with-sunrise-effect.yaml
Home Assistant Blueprint: Wake-up light alarm with sunrise effect
blueprint:
name: Wake-up light alarm with sunrise effect
description: 'A wake-up light alarm with a brightness and color temperature sunrise
effect. Note: Requires date_time_iso sensor in configuration, not manually executable!'
domain: automation
input:
light_entity:
name: Wake-up light entity
description: The light to control. Turning it off during the sunrise will keep
it off. Color temperature range is auto-detected.
blueprint:
name: Мониторинг расходных материалов
description: Регулярно проверять все датчики расходных материалов на пересечение
границы уровня и выполнять действие.
domain: automation
input:
sensor_list:
name: Датчики
description: Датчики которые нужно отслеживать.
Поддерживаются только сущности!
@dpolyakov
dpolyakov / yandex_weather_notification_telegram.yaml
Created July 8, 2024 12:46 — forked from glebsterx/yandex_weather_notification_telegram.yaml
Оповещение о погоде в телеграм, на основании данных Яндекс.Погоды в Home Assistant
script:
weather_to_telegram:
alias: Погода в телеграм
sequence:
- service: notify.telegram_group
data:
message: |-
{%-set conditions = {
'sunny':'Солнечно \U00002600',
'clear':'Ясно \U00002600',
#!/bin/bash
# We need the TAB character for SED (Mac OS X sed does not understand \t)
TAB="$(printf '\t')"
function abort {
echo "$(tput setaf 1)$1$(tput sgr0)"
exit 1
}