Start backlight idle cycle after boot

This commit is contained in:
2026-08-29 21:39:56 +02:00
parent d508c3c6f2
commit afaaa9f4eb
+7 -1
View File
@@ -27,10 +27,16 @@ esphome:
includes:
- lab-ble-proxy.h
on_boot:
priority: 850
- priority: 850
then:
- lambda: |-
owon_b35t::core2_axp192_init(id(core2_i2c));
# Start the normal dimming/off cycle after a cold boot as well. The
# light component is initialized by this priority, while BLE callbacks
# and touch events can still restart the script through wake_backlight.
- priority: 600
then:
- script.execute: backlight_idle
project:
name: "custom.lab-ble-proxy-m5stack-core2"
version: "1.0"