Skip to content

Commit

Permalink
Update with variables
Browse files Browse the repository at this point in the history
  • Loading branch information
untergeek committed Oct 17, 2024
1 parent 54bf10f commit 4d5c01a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions template/sana-sw203.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ binary_sensor:
mode: INPUT_PULLUP
on_press:
then:
- switch.toggle: relay1
- switch.toggle: ${id1}
- platform: gpio
internal: true
name: "${friendly_name} Button 2"
Expand All @@ -62,7 +62,7 @@ binary_sensor:
mode: INPUT_PULLUP
on_press:
then:
- switch.toggle: relay2
- switch.toggle: ${id2}
- platform: gpio
internal: true
name: "${friendly_name} Button 3"
Expand All @@ -71,4 +71,4 @@ binary_sensor:
mode: INPUT_PULLUP
on_press:
then:
- switch.toggle: relay3
- switch.toggle: ${id3}

0 comments on commit 4d5c01a

Please sign in to comment.