mirror of
https://github.com/esphome/esphome.git
synced 2026-09-29 16:00:23 +00:00
Merge branch 'dev' into integration
This commit is contained in:
@@ -16,6 +16,18 @@ binary_sensor:
|
||||
platform: template
|
||||
- id: left_sensor
|
||||
platform: template
|
||||
- platform: lvgl
|
||||
id: button_checker
|
||||
name: LVGL button
|
||||
widget: button_button
|
||||
on_state:
|
||||
then:
|
||||
- lvgl.checkbox.update:
|
||||
id: checkbox_id
|
||||
state:
|
||||
checked: !lambda |-
|
||||
auto y = x; // block inlining of one line return
|
||||
return y;
|
||||
|
||||
lvgl:
|
||||
log_level: debug
|
||||
@@ -414,6 +426,14 @@ lvgl:
|
||||
logger.log: Long pressed repeated
|
||||
- buttons:
|
||||
- id: button_e
|
||||
- button:
|
||||
id: button_with_text
|
||||
text: Button
|
||||
on_click:
|
||||
lvgl.button.update:
|
||||
id: button_with_text
|
||||
text: Clicked
|
||||
|
||||
- button:
|
||||
layout: 2x1
|
||||
id: button_button
|
||||
|
||||
@@ -60,6 +60,7 @@ display:
|
||||
update_interval: never
|
||||
|
||||
lvgl:
|
||||
update_when_display_idle: true
|
||||
displays:
|
||||
- tft_display
|
||||
- second_display
|
||||
|
||||
@@ -112,6 +112,25 @@ cover:
|
||||
}
|
||||
return COVER_CLOSED;
|
||||
|
||||
light:
|
||||
- platform: binary
|
||||
name: "Binary Light"
|
||||
output: test_output
|
||||
- platform: monochromatic
|
||||
name: "Brightness Light"
|
||||
output: test_output
|
||||
- platform: rgb
|
||||
name: "RGB Light"
|
||||
red: test_output
|
||||
green: test_output
|
||||
blue: test_output
|
||||
- platform: rgbw
|
||||
name: "RGBW Light"
|
||||
red: test_output
|
||||
green: test_output
|
||||
blue: test_output
|
||||
white: test_output
|
||||
|
||||
lock:
|
||||
- platform: template
|
||||
id: template_lock1
|
||||
@@ -122,6 +141,14 @@ lock:
|
||||
return LOCK_STATE_UNLOCKED;
|
||||
optimistic: true
|
||||
|
||||
output:
|
||||
- platform: template
|
||||
id: test_output
|
||||
type: float
|
||||
write_action:
|
||||
- lambda: |-
|
||||
// no-op for CI/build tests
|
||||
(void)state;
|
||||
select:
|
||||
- platform: template
|
||||
id: template_select1
|
||||
|
||||
Reference in New Issue
Block a user