Skip to content

Instantly share code, notes, and snippets.

@iceteabottle
Last active November 21, 2023 20:19
Show Gist options
  • Select an option

  • Save iceteabottle/e1fc85e24eb8a0761c41063e3f0750ca to your computer and use it in GitHub Desktop.

Select an option

Save iceteabottle/e1fc85e24eb8a0761c41063e3f0750ca to your computer and use it in GitHub Desktop.

Revisions

  1. iceteabottle revised this gist Nov 21, 2023. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion light-alarm.yml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    alias: "Lichtwecker"
    description: "It dims the light from 0% up to 100% within 15 minutes"
    description: "An automation for dimming a light from 0% up to 100% within 15 minutes"
    action:
    - type: turn_off
    device_id: 738894a642dab1768d1ab51975b585f7
  2. iceteabottle created this gist Nov 21, 2023.
    22 changes: 22 additions & 0 deletions light-alarm.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    alias: "Lichtwecker"
    description: "It dims the 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