diff --git a/esphome/master_bedroom_remote.yaml b/esphome/master_bedroom_remote.yaml index 0b73b3e..35fee01 100644 --- a/esphome/master_bedroom_remote.yaml +++ b/esphome/master_bedroom_remote.yaml @@ -10,11 +10,18 @@ substitutions: esphome: name: ${name} friendly_name: ${friendly_name} + on_boot: + priority: 600 + then: + - output.turn_on: backlight_output + - output.set_level: + id: backlight_output + level: 100% esp32: board: esp32dev framework: - type: arduino + type: esp-idf logger: @@ -47,7 +54,7 @@ display: model: ili9341 cs_pin: GPIO15 dc_pin: GPIO2 - reset_pin: GPIO4 + data_rate: 40MHz rotation: 0 invert_colors: false id: my_display @@ -121,11 +128,11 @@ touchscreen: output: - platform: ledc pin: GPIO21 - id: backlight_pwm + id: backlight_output light: - platform: monochromatic - output: backlight_pwm + output: backlight_output name: "Display Backlight" id: backlight restore_mode: ALWAYS_ON