-
-
Save coldtobi/ec841d6ed6aee908fde5287d620c453e to your computer and use it in GitHub Desktop.
Osram Zigbee Bulb Factory Reset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| blueprint: | |
| name: Osram Zigbee Bulb Factory Reset | |
| description: Factory resets Orsram Zigbee bulbs for re-pairing with a ZigBee Hub | |
| domain: automation | |
| input: | |
| input_boolean: | |
| name: Input Boolean | |
| description: This Input boolean will trigger the factory reset automation | |
| selector: | |
| entity: | |
| domain: input_boolean | |
| light_switch: | |
| name: Light Switch | |
| description: The light switch to use for factory resetting the Osram bulb | |
| selector: | |
| entity: | |
| domain: switch | |
| trigger: | |
| - entity_id: !input input_boolean | |
| from: 'off' | |
| platform: state | |
| to: 'on' | |
| action: | |
| - service: switch.turn_on | |
| entity_id: !input light_switch | |
| - delay: '5' | |
| - repeat: | |
| count: '5' | |
| sequence: | |
| - service: switch.turn_off | |
| entity_id: !input light_switch | |
| - delay: '5' | |
| - service: switch.turn_on | |
| entity_id: !input light_switch | |
| - delay: '5' | |
| - service: input_boolean.turn_off | |
| entity_id: !input input_boolean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment