Skip to content

Instantly share code, notes, and snippets.

@clausd84
clausd84 / tado_temp_offset.yaml
Last active September 29, 2025 10:52 — forked from sanderma/tado_temp_offset.yaml
Homeassistant blueprint to set Tado offset using separate temperature sensor
blueprint:
name: Tado temperature offset v1.5.2
description: |
Ensure the Tado smart valve aligns with the temperature of a separate sensor.
Adjusts the offset only when the difference exceeds ±0.5°C and incorporates hysteresis.
Changelog:
- v1.4: Initial implementation to adjust the Tado offset based on an external sensor.
- v1.4.1: Adjusted triggers to apply a 5-minute delay for state changes to reduce sensitivity to transient fluctuations.
- v1.4.2: Further ensured the state persists for 5 minutes to reduce unnecessary trigger activations and improve stability.
@jakubkinst
jakubkinst / a-ktools.md
Last active January 29, 2020 16:40
ktools

ktools

Kotlin Tools for Android ViewModel, LiveData, Data Binding, Dependency injection, Async operations, Repository pattern, Retrofit, Form Validation, Cloud Firestore, etc.

@ruby0x1
ruby0x1 / main.cpp
Last active January 4, 2019 21:09
SDL2 sample
//SDL2 flashing random color example
//Should work on iOS/Android/Mac/Windows/Linux
#include <SDL.h>
#include <SDL_opengl.h>
#include <stdlib.h> //rand()
static bool quitting = false;
static float r = 0.0f;