-
Notifications
You must be signed in to change notification settings - Fork 0
Automation Cookbook
script:
pool_party:
alias: "Pool party"
sequence:
- action: htd_lync_pro.set_zones
data:
zones: [3, 4, 5, 6, 8]
source: "Sonos"
volume: 30
offsets: { "3": 10, "6": -8 }
others_off: trueAdd a button card calling script.pool_party — one-tap party.
Import the blueprint
(blueprints/follow_me.yaml in the repo — Settings → Automations &
Scenes → Blueprints → Import Blueprint with the raw file URL), then
create one automation per room: motion sensor + zone number + options
(excluded zones, volume offset, turn-off of the room you left, active
time window).
Tips: generous motion timeouts, keep turn_off_source on, exclude
bedrooms. The service is a no-op when nothing is playing.
If your amps have an auto-ducking override input fed by e.g. a Raspberry Pi running VLC: set the VLC media player and your TTS engine in the integration Options once, then:
- action: htd_lync_pro.announce
data: { message: "Dinner is ready!", volume_level: 0.6 }The amps duck automatically when audio plays; the integration restores
the player volume afterwards. Use media_url for chimes/mp3s.
script:
movie_time:
sequence:
- action: htd_lync_pro.snapshot
- action: htd_lync_pro.all_off
movie_over:
sequence:
- action: htd_lync_pro.restoreSet Max power-on volume and Quiet hours in Options — a zone turned on at 2 AM gets clamped automatically, no automation needed.