-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
# Older-style Candles (no dancing wick) IR Control | ||
switch: | ||
- platform: template | ||
name: "Older Candles" | ||
id: older | ||
optimistic: True | ||
# pronto older_candles already have 15 code repeats built-in | ||
turn_on_action: | ||
- <<: !include pronto/older_candles/on.yaml | ||
turn_off_action: | ||
- <<: !include pronto/older_candles/off.yaml | ||
|
||
button: | ||
- platform: template | ||
name: Forcibly Send OFF | ||
on_press: | ||
then: | ||
- <<: !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 | ||
- switch.template.publish: # Also turn ON the associated switch | ||
id: older | ||
state: ON |
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