Skip to content

Instantly share code, notes, and snippets.

@devjourney
Created February 13, 2025 15:45
Show Gist options
  • Save devjourney/076d987f32b82916bc7c7005c6ba6d01 to your computer and use it in GitHub Desktop.
Save devjourney/076d987f32b82916bc7c7005c6ba6d01 to your computer and use it in GitHub Desktop.
A Home Assistant automation to set the volume of several media players at a specific time of day.
alias: Speakers - Set Sleep Volume
description: Set the volume of speakers lower overnight.
triggers:
- trigger: time
at: "23:00:00"
conditions: []
actions:
- action: media_player.volume_set
metadata: {}
data:
volume_level: 0.25
target:
device_id:
- 7960b3732c2436a18f0bf9c237ed0898
- 04044b77e82446fd1e825bb90ee52fae
- 092fba581f16e7a25e84034d2ff697a5
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment