Skip to content

Instantly share code, notes, and snippets.

@iceteabottle
Last active November 21, 2023 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iceteabottle/e1fc85e24eb8a0761c41063e3f0750ca to your computer and use it in GitHub Desktop.
Save iceteabottle/e1fc85e24eb8a0761c41063e3f0750ca to your computer and use it in GitHub Desktop.
Light alarm aka Lichtwecker with Home Assistant
alias: "Lichtwecker"
description: "An automation for dimming a light from 0% up to 100% within 15 minutes"
action:
- type: turn_off
device_id: 738894a642dab1768d1ab51975b585f7
entity_id: 6c6e595ddc1b1bfb4027411381678295
domain: light
- repeat:
count: 20
sequence:
- service: light.turn_on
data:
brightness_step_pct: 5
transition: 45
target:
entity_id: light.led_spots
- delay:
hours: 0
minutes: 0
seconds: 45
milliseconds: 0
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment