Refactor backlight control: Adjust on_boot priority and remove unnecessary backlight activation commands
This commit is contained in:
@@ -11,12 +11,8 @@ esphome:
|
||||
name: ${name}
|
||||
friendly_name: ${friendly_name}
|
||||
on_boot:
|
||||
priority: 600
|
||||
priority: -100
|
||||
then:
|
||||
- output.turn_on: backlight_output
|
||||
- output.set_level:
|
||||
id: backlight_output
|
||||
level: 100%
|
||||
- lambda: |-
|
||||
id(last_interaction_ms) = millis();
|
||||
id(backlight_is_on) = true;
|
||||
|
||||
Reference in New Issue
Block a user