Created
January 8, 2021 12:54
-
-
Save chpego/d8471eef3e1759561052c0404c6c9f5e to your computer and use it in GitHub Desktop.
shelly automation
This file contains 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
- alias: "ShellyButton Simple" | |
trigger: | |
- platform: state | |
entity_id: binary_sensor.shelly_shbtn_1_*******_switch | |
to: "on" | |
condition: | |
condition: template | |
value_template: "{{ state_attr('binary_sensor.shelly_shbtn_1_*******_switch', 'click_type') == 'single' }}" | |
action: | |
#### WHAT YOU WANT #### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment