diff --git a/modules/nixos/homeassistant/services/esphome/cyd-base-hw.yaml b/modules/nixos/homeassistant/services/esphome/cyd-base-hw.yaml index b488ab6..3d5215b 100644 --- a/modules/nixos/homeassistant/services/esphome/cyd-base-hw.yaml +++ b/modules/nixos/homeassistant/services/esphome/cyd-base-hw.yaml @@ -90,11 +90,6 @@ font: - "${TILE5_ICON}" - "${TILE6_ICON}" -image: - - file: "images/home-background.png" - id: bg_home - type: RGB565 - sensor: - platform: wifi_signal name: "Wifi Signal" @@ -297,7 +292,6 @@ display: id: my_display spi_id: lcd model: ILI9341 - color_palette: 8BIT cs_pin: 15 dc_pin: 2 invert_colors: false diff --git a/modules/nixos/homeassistant/services/esphome/cyd-base-ui.yaml b/modules/nixos/homeassistant/services/esphome/cyd-base-ui.yaml index bf12953..9c10f77 100644 --- a/modules/nixos/homeassistant/services/esphome/cyd-base-ui.yaml +++ b/modules/nixos/homeassistant/services/esphome/cyd-base-ui.yaml @@ -91,12 +91,6 @@ lvgl: scrollable: false scrollbar_mode: 'OFF' widgets: - - image: - id: bg - src: bg_home - x: 0 - y: 0 - - label: id: lbl_room x: 11 @@ -603,12 +597,18 @@ lvgl: pad_bottom: 0 border_width: 0 widgets: - - image: + - obj: id: brightness_overlay_bg - src: bg_home x: 0 y: 0 + width: 320 + height: 240 + bg_color: 0x1a1a2e + bg_opa: COVER + border_width: 0 + radius: 0 clickable: true + scrollable: false on_click: - lvgl.widget.hide: brightness_overlay - obj: