Skip to content

Commit

Permalink
Fix transmit lines
Browse files Browse the repository at this point in the history
  • Loading branch information
untergeek committed Oct 18, 2024
1 parent 4de07ef commit 7f7ff7d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions template/IR/older_candles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,28 @@ switch:
optimistic: True
# pronto older_candles already have 15 code repeats built-in
turn_on_action:
- <<: !include pronto/older_candles/on.yaml
- remote_transmitter.transmit_pronto:
<<: !include pronto/older_candles/on.yaml
turn_off_action:
- <<: !include pronto/older_candles/off.yaml
- remote_transmitter.transmit_pronto:
<<: !include pronto/older_candles/off.yaml

button:
- platform: template
name: Forcibly Send OFF
on_press:
then:
- <<: !include pronto/older_candles/off.yaml
- remote_transmitter.transmit_pronto:
<<: !include pronto/older_candles/off.yaml
- switch.template.publish: # Also turn OFF the associated switch
id: older
state: OFF
- platform: template
name: Forcibly Send ON
on_press:
then:
- <<: !include pronto/older_candles/on.yaml
- remote_transmitter.transmit_pronto:
<<: !include pronto/older_candles/on.yaml
- switch.template.publish: # Also turn ON the associated switch
id: older
state: ON

0 comments on commit 7f7ff7d

Please sign in to comment.