I download a full log. I thought it will be more visual and easy to identify where I have a problem.
Here is a full log:
INFO ESPHome 2024.6.6
INFO Reading configuration /config/esphome/touch-panel.yaml...
Failed config
lvgl: [source /config/esphome/touch-panel.yaml:368]
displays:
- display_id: my_display
touchscreens:
- touchscreen_id: my_touchscreen
on_idle:
timeout: 90s
then:
- logger.log: LVGL is idle
- light.turn_off: backlight
- lvgl.pause: {}
top_layer:
widgets:
- label:
text_font: roboto24
text: 00:00 am
id: display_time
align: bottom_mid
y: -10
text_align: right
text_color: 16777215
- label:
text_font: roboto24
text: -.- %
id: humidity_text
align: bottom_right
x: -20
y: -10
text_align: right
text_color: 16777215
on_press:
then:
- lvgl.page.show: second_page
- label:
text_font: roboto24
text: -.-°C
id: temp_text
align: bottom_left
x: 12
y: -10
text_color: 16777215
on_press:
then:
- lvgl.page.show: main_page
style_definitions:
- id: style_line
line_color: 255
line_width: 8
line_rounded: True
- id: date_style
text_font: roboto24
align: center
text_color: 3355443
bg_opa: cover
radius: 4
pad_all: 2
- id: header_footer
bg_color: 818015
bg_grad_color: 207135
bg_grad_dir: VER
bg_opa: COVER
border_width: 0
radius: 0
pad_all: 0
pad_row: 0
pad_column: 0
border_color: 30643
text_color: 16777215
width: 100%
height: 40
theme:
btn:
text_font: roboto24
scroll_on_focus: True
group: general
radius: 25
width: 150
height: 97
pad_left: 10px
pad_top: 10px
pad_bottom: 10px
pad_right: 10px
shadow_width: 0
bg_color: 818015
text_color: 11974326
checked:
bg_color: 13393428
text_color: 11974326
obj:
text_font: roboto24
scroll_on_focus: True
group: general
radius: 25
width: 150
height: 97
pad_left: 10px
pad_top: 10px
pad_bottom: 10px
pad_right: 10px
shadow_width: 0
bg_color: 818015
border_color: 818015
text_color: 11974326
checked:
bg_color: 13393428
text_color: 11974326
page_wrap: True
pages:
Layout value must be a dict.
- id: main_page
skip: True
layout: flex
flex_flow: row_WRAP
width: 100%
bg_color: 0
bg_opa: cover
pad_all: 5
widgets:
- obj:
checkable: True
id: lv_button_1
widgets:
- label:
text_font: light32
align: top_left
text:
id: lv_button_1_icon
- label:
align: bottom_mid
text: Bed Lights
long_mode: dot
on_short_click:
- homeassistant.service:
service: light.toggle
data:
entity_id: light.over_the_bed_lights
- obj:
checkable: True
id: lv_button_2
widgets:
- label:
text_font: light32
align: top_mid
text:
id: lv_button_2_icon
- label:
align: bottom_mid
text: Mirror Lights
long_mode: dot
on_short_click:
- homeassistant.service:
service: light.toggle
data:
entity_id: light.mirror_lighs
- obj:
checkable: True
id: lv_button_3
widgets:
- label:
text_font: light32
align: top_right
text:
id: lv_button_3_icon
- label:
align: bottom_mid
text: TV Lights
long_mode: dot
on_short_click:
- homeassistant.service:
service: light.toggle
data:
entity_id: light.tv_lights
- obj:
checkable: True
id: lv_button_4
widgets:
- label:
text_font: light32
align: top_left
text:
id: lv_button_4_icon
- label:
align: bottom_mid
text: Irina Light
long_mode: dot
on_short_click:
- homeassistant.service:
service: light.toggle
data:
entity_id: light.irina_s_wall_light
- obj:
checkable: True
id: lv_button_5
widgets:
- label:
text_font: light32
align: top_mid
text:
id: lv_button_5_icon
- label:
align: bottom_mid
text: Under Bed
long_mode: dot
on_short_click:
- homeassistant.service:
service: light.toggle
data:
entity_id: light.bed_occupancy_sensor_yevgeniy_lights
- obj:
checkable: True
id: lv_button_6
widgets:
- label:
text_font: light32
align: top_right
text:
id: lv_button_6_icon
- label:
align: bottom_mid
text: My Light
long_mode: dot
on_short_click:
- homeassistant.service:
service: light.toggle
data:
entity_id: light.my_wall_light
- obj:
width: 230
checkable: True
id: lv_button_7
widgets:
- label:
text_font: light32
align: top_left
text:
id: lv_button_7_icon
- label:
align: bottom_left
text: Hvac
long_mode: dot
- obj:
width: 230
checkable: True
id: lv_button_8
widgets:
- label:
text_font: light32
align: top_right
text:
id: lv_button_8_icon
- label:
align: bottom_right
text: Intim
long_mode: dot
- obj:
width: 230
checkable: True
id: lv_button_10
widgets:
- label:
text_font: light32
align: top_left
text:
id: lv_button_10_icon
- label:
align: bottom_left
text: Fan
long_mode: dot
- slider:
x: 90
y: 25
width: 130
height: 10
indicator:
bg_color: 818015
knob:
bg_color: 818015
id: fan_slider
value: 75
min_value: 0
max_value: 100
adv_hittest: True
on_release:
- homeassistant.service:
service: fan.turn_on
data:
entity_id: fan.master_fan
percentage: !lambda |-
return int(x);
on_short_click:
- homeassistant.service:
service: fan.toggle
data:
entity_id: fan.master_fan
on_press:
- homeassistant.service:
service: fan.set_percentage
data:
entity_id: fan.master_fan
- obj:
width: 230
checkable: True
id: lv_button_11
widgets:
- label:
text_font: light32
align: top_right
text:
id: lv_button_11_icon
- label:
align: bottom_right
text: Curtains
long_mode: dot
on_short_click:
- homeassistant.service:
service: cover.toggle
data:
entity_id: cover.master_bedroom_all_covers
Layout value must be a dict.
- id: second_page
skip: True
layout: flex