Skip to content

Instantly share code, notes, and snippets.

View ohlsont's full-sized avatar
🤖
Building code

Tomas Ohlson ohlsont

🤖
Building code
View GitHub Profile
@ohlsont
ohlsont / block-heat.yaml
Last active October 5, 2025 08:37
Block heat (rolling 24h + temp guard)
blueprint:
name: Block heat (rolling 24h + temp guard + low-price bypass)
description: >
Blocks heating during the most expensive hours based on Nordpool prices.
Works with both 60- and 15-minute prices and handles DST automatically.
During cheap hours it mirrors the outdoor temperature at a configurable
refresh interval, within min/max temperature guards and with a minimum
change threshold to reduce unnecessary writes.
Ignores placeholder prices (e.g. -0.001).
Includes bypasses: never block when current price is very low,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.