Skip to content

Commit

Permalink
Merge pull request #206 from andrewjswan/2024.1.0-Simplified_Auto-Adj…
Browse files Browse the repository at this point in the history
…ust_Brightness_switch

2024.1.0: Simplified Auto-Adjust Brightness switch
  • Loading branch information
lubeda authored Jan 31, 2024
2 parents 41f6844 + a714b76 commit a18101c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/ulanzi-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ switch:
icon: mdi:brightness-auto
restore_mode: RESTORE_DEFAULT_ON
lambda: |-
if (id(aab_enable)) {
return true;
} else {
return false;
}
return id(aab_enable);
turn_on_action:
lambda: |-
id(aab_enable) = true;
Expand Down

0 comments on commit a18101c

Please sign in to comment.