Skip to content

Failed Config - esphome ^2025.11.x #13

@herpaderpaldent

Description

@herpaderpaldent

Hi

First of all thank you for this repository. When i tried to install my sensecap i got a fatal error that may be caused by epshome 2025.11

Layout {'type': 'FLEX', 'flex_flow': 'ROW', 'flex_align_main': 'CENTER', 'flex_align_cross': 'CENTER'} requires a widgets key.

INFO ESPHome 2025.11.4
INFO Reading configuration /config/esphome/sensecap--schlafzimmer.yaml...
Failed config

lvgl: [source /config/esphome/HomeDicator/device/../core.yaml:19]
  disp_bg_color: 1776411
  gradients: 
    - id: temperature_slider
      direction: hor
      dither: ordered
      stops: 
        - color: 3453902
          position: 0
        - color: 14265939
          position: 80
        - color: 13124933
          position: 255
  on_idle: 
    timeout: !lambda |-
      switch (id(turn_off_screen_after_value)) {
        case 0: return 600000;  // "Never" (10 min in ms / will check as a condition in the then block)
        case 1: return 60000;   // "1 min"
        case 2: return 300000;  // "5 min"
        case 3: return 900000;  // "15 min"
        default: return 600000; // Default to 10 min in case of an invalid index
      }
    then: 
      - script.execute: activity_timeout_reached
  top_layer: 
    scrollable: False
    widgets: 
      - obj: 
          id: bottom_pager
          x: 0
          y: 450
          pad_all: 0
          width: 480
          height: SIZE_CONTENT
          bg_opa: TRANSP
          
          **Layout {'type': 'FLEX', 'flex_flow': 'ROW', 'flex_align_main': 'CENTER', 'flex_align_cross': 'CENTER'} requires a widgets key.**
          layout: 
            type: FLEX
            flex_flow: ROW

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions