Skip to content

Instantly share code, notes, and snippets.

@phdelodder
Created October 31, 2022 14:25
Show Gist options
  • Save phdelodder/732fd2f5aa993ee40cc659954b368c38 to your computer and use it in GitHub Desktop.
Save phdelodder/732fd2f5aa993ee40cc659954b368c38 to your computer and use it in GitHub Desktop.
Home assistant script to reset Ikea bulbs using a shelly device
alias: Reset Ikea Light Bulbs using Shelly
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- service: switch.turn_off
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- service: switch.turn_off
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- service: switch.turn_off
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- service: switch.turn_off
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- service: switch.turn_off
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- service: switch.turn_off
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_on
data: {}
target:
entity_id: switch.verlichting_slaapkamer_margot
mode: single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment