cyd
This commit is contained in:
@@ -90,11 +90,6 @@ font:
|
|||||||
- "${TILE5_ICON}"
|
- "${TILE5_ICON}"
|
||||||
- "${TILE6_ICON}"
|
- "${TILE6_ICON}"
|
||||||
|
|
||||||
image:
|
|
||||||
- file: "images/home-background.png"
|
|
||||||
id: bg_home
|
|
||||||
type: RGB565
|
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: wifi_signal
|
- platform: wifi_signal
|
||||||
name: "Wifi Signal"
|
name: "Wifi Signal"
|
||||||
@@ -297,7 +292,6 @@ display:
|
|||||||
id: my_display
|
id: my_display
|
||||||
spi_id: lcd
|
spi_id: lcd
|
||||||
model: ILI9341
|
model: ILI9341
|
||||||
color_palette: 8BIT
|
|
||||||
cs_pin: 15
|
cs_pin: 15
|
||||||
dc_pin: 2
|
dc_pin: 2
|
||||||
invert_colors: false
|
invert_colors: false
|
||||||
|
|||||||
@@ -91,12 +91,6 @@ lvgl:
|
|||||||
scrollable: false
|
scrollable: false
|
||||||
scrollbar_mode: 'OFF'
|
scrollbar_mode: 'OFF'
|
||||||
widgets:
|
widgets:
|
||||||
- image:
|
|
||||||
id: bg
|
|
||||||
src: bg_home
|
|
||||||
x: 0
|
|
||||||
y: 0
|
|
||||||
|
|
||||||
- label:
|
- label:
|
||||||
id: lbl_room
|
id: lbl_room
|
||||||
x: 11
|
x: 11
|
||||||
@@ -603,12 +597,18 @@ lvgl:
|
|||||||
pad_bottom: 0
|
pad_bottom: 0
|
||||||
border_width: 0
|
border_width: 0
|
||||||
widgets:
|
widgets:
|
||||||
- image:
|
- obj:
|
||||||
id: brightness_overlay_bg
|
id: brightness_overlay_bg
|
||||||
src: bg_home
|
|
||||||
x: 0
|
x: 0
|
||||||
y: 0
|
y: 0
|
||||||
|
width: 320
|
||||||
|
height: 240
|
||||||
|
bg_color: 0x1a1a2e
|
||||||
|
bg_opa: COVER
|
||||||
|
border_width: 0
|
||||||
|
radius: 0
|
||||||
clickable: true
|
clickable: true
|
||||||
|
scrollable: false
|
||||||
on_click:
|
on_click:
|
||||||
- lvgl.widget.hide: brightness_overlay
|
- lvgl.widget.hide: brightness_overlay
|
||||||
- obj:
|
- obj:
|
||||||
|
|||||||
Reference in New Issue
Block a user