Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Smart Pool Pump — окно работы + регулярные перерывы
description: >
Управляет насосом по дневному окну с регулярными перерывами.
В пределах окна [Start Time → End Time] насос работает циклом «каждый час»:
сначала работает (60 − Break) минут, затем делает паузу на Break минут, и повторяет.
В End Time насос гарантированно выключается.
Параметры:
1) Start Time — время начала окна.
@myroom
myroom / sensor-not-available-notification-for-all-battery-sensors.yaml
Last active August 4, 2023 08:19
Sensor availability & notification for all battery sensors
blueprint:
name: Sensor availability & notification for all battery sensors
description: Regularly test all sensors with 'battery' device-class for their availability and if not available execute an action.
domain: automation
input:
time:
name: Time to test on
description: Test is run at configured time
default: '10:00:00'
selector: