Skip to content

Instantly share code, notes, and snippets.

@glebsterx
glebsterx / low-level-detection-notification-for-consumables.yaml
Last active July 8, 2024 12:46
low-level-detection-notification-for-consumables.yaml
blueprint:
name: Мониторинг расходных материалов
description: Регулярно проверять все датчики расходных материалов на пересечение
границы уровня и выполнять действие.
domain: automation
input:
sensor_list:
name: Датчики
description: Датчики которые нужно отслеживать.
Поддерживаются только сущности!
yandex_smart_home:
filter:
include_entities:
- switch.hiper_iot_purifier_ion_mini_v1
entity_config:
switch.hiper_iot_purifier_ion_mini_v1:
name: Очиститель
type: devices.types.purifier
modes:
fan_speed:
@glebsterx
glebsterx / humidifier.yaml
Created January 31, 2023 19:07
Accesstyle Lotus 3DUS / Yandex Smart Home
yandex_smart_home:
entity_config:
switch.accesstyle_lotus_3dus_power:
name: Увлажнитель
type: devices.types.humidifier
properties:
- type: temperature
entity: sensor.accesstyle_lotus_3dus_temperature
- type: humidity
entity: sensor.accesstyle_lotus_3dus_humidity
@glebsterx
glebsterx / yandex_weather_notification_telegram.yaml
Last active July 8, 2024 12:46
Оповещение о погоде в телеграм, на основании данных Яндекс.Погоды в Home Assistant
script:
weather_to_telegram:
alias: Погода в телеграм
sequence:
- service: notify.telegram_group
data:
message: |-
{%-set conditions = {
'sunny':'Солнечно \U00002600',
'clear':'Ясно \U00002600',
@glebsterx
glebsterx / hiper_iot_purifier_pro_v1.yaml
Last active February 16, 2023 20:04
Local Tuya Configuration for Hiper IoT Purifier Pro v1 (Russian) + Yandex Smart Home Configuration
localtuya:
- host: purifier_ip_address
device_id: purifier_device_id
local_key: purifier_local_key
friendly_name: "Hiper IoT Purifier Pro v1"
protocol_version: "3.3"
entities:
- platform: switch # fan
friendly_name: "Hiper IoT Purifier Pro v1"
id: 1
@glebsterx
glebsterx / low-battery-level-detection-notification-for-all-battery-sensors.yaml Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Мониторинг заряда батарей датчиков
description: Регулярно проверять все датчики с классом устройства 'battery' на пересечение
границы уровня заряда и выполнять действие.
domain: automation
input:
threshold:
name: Пороговое значение уровня предупреждения батареи
description: Показания датчика батареи ниже порогового значения считаются низким зарядом
батареи (т.к. а также бинарные датчики батареи со значением «включено»).