Skip to content

Commit

Permalink
Not light.turn_, but switch.turn_
Browse files Browse the repository at this point in the history
  • Loading branch information
untergeek committed Oct 29, 2024
1 parent 524d116 commit b3f2cf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/linkind-switch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ binary_sensor:
name: ON Button
internal: false
on_click:
- light.turn_on: relay
- switch.turn_on: relay

- platform: gpio
pin:
Expand All @@ -63,7 +63,7 @@ binary_sensor:
name: OFF Button
internal: False
on_click:
- light.turn_off: relay
- switch.turn_off: relay

esp32_ble_tracker:

Expand Down

0 comments on commit b3f2cf3

Please sign in to comment.