Skip to content

Instantly share code, notes, and snippets.

View denysdovhan's full-sized avatar
👨‍💻
Working for @wix

Denys Dovhan denysdovhan

👨‍💻
Working for @wix
View GitHub Profile
# based on: https://community.home-assistant.io/t/tuya-radiator-valve-ts0601-calibration-from-external-sensor-via-zigbee2mqtt/337991
# alternative: https://community.home-assistant.io/t/sync-trv-with-external-tempature-sensor/298024
blueprint:
name: Calibrate TRV temperature
description: Temperature calibration for Zigbee valve TS0601, according to external temperature sensor
domain: automation
input:
valve:
name: Valve
@denysdovhan
denysdovhan / announcement.yaml
Created August 9, 2024 16:33
Annoucement script boilerplate
blueprint:
name: Announcement
author: denysdovhan
description: >
This is a generic announcement with randomly generated phrases.
# source_url: TODO
domain: script
input:
default_tts:
name: TTS Service
const readline = require('readline');
const REFRESH_INTERVAL = 50;
// Function to clear the terminal
function clearTerminal() {
console.clear();
}
// Function to generate random characters