Skip to content

Instantly share code, notes, and snippets.

blueprint:
name: Smart thermostat with delay
description: 'This automation uses your window sensor to control the thermostat, turning it on or off based on the window state. You can set the delay time for state changes to avoid retriggering. To prevent heating in summer, specify the weather entity and your winter temperature. Additionally, you can set a delay for resuming heating in winter to avoid triggering full power heating immediately after a window is closed.'
domain: automation
source_url: https://gist.github.com/AlexanderBabel/69c3b996a66b3a132cafadcbac4140cc
input:
window_sensor:
name: Window / Door Sensor Group
selector:
entity:
blueprint:
name: Smart Thermostat off/heat (LUMI/Aqara)
description: 'Forked from: https://community.home-assistant.io/t/smart-thermostat-2-0-blueprint/478348
and made compatible with thermostats supporting the states "off" and "heat" instead of "off" and "auto" in the
original blueprint.'
domain: automation
source_url: https://gist.github.com/rhl2401/f15d67263a949bbd5d6e374a3815a60d
input:
window_sensor:
name: Window / Door Sensor Group