Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
tarontop authored Aug 30, 2024
2 parents 66fb2d8 + 5866ca9 commit 63cf215
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions athom-smart-plug-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,24 @@ globals:
type: float
restore_value: yes
initial_value: '0.0'
- id: restore_mode
type: int
restore_value: yes
initial_value: "3"

select:
- platform: template
name: "Power On State"
id: "power_mode"
optimistic: true
options:
- Always Off
- Always On
- Restore Power Off State
on_value:
then:
- lambda: |-
id(restore_mode)=i+1;
- id: restore_mode
type: int
Expand Down

0 comments on commit 63cf215

Please sign in to comment.