diff --git a/esphome/cat-medication-tracker.yaml b/esphome/cat-medication-tracker.yaml index 0fec6bd..7f04e0c 100644 --- a/esphome/cat-medication-tracker.yaml +++ b/esphome/cat-medication-tracker.yaml @@ -5,6 +5,12 @@ substitutions: esphome: name: ${name} friendly_name: ${friendly_name} + on_boot: + - priority: -10 + then: + - light.turn_on: backlight + - delay: 1s + - script.execute: update_display esp32: board: esp32dev @@ -13,6 +19,7 @@ esp32: # Enable logging logger: + level: INFO # Enable Home Assistant API api: @@ -70,6 +77,7 @@ display: height: 320 id: my_display auto_clear_enabled: false + update_interval: never color_palette: 8BIT lambda: |- // Colors @@ -136,7 +144,7 @@ touchscreen: id: my_touchscreen spi_id: tft_spi cs_pin: GPIO33 - update_interval: 50ms + update_interval: 100ms threshold: 400 calibration: x_min: 280 @@ -259,4 +267,4 @@ font: - file: "gfonts://Roboto" id: status_font - size: 14 \ No newline at end of file + size: 14