Format test files (#4541)

This commit is contained in:
Jesse Hills
2023-03-09 14:54:51 +13:00
committed by GitHub
parent 01687a9d57
commit 6471361715
7 changed files with 69 additions and 78 deletions
+13 -13
View File
@@ -325,7 +325,7 @@ mcp23s17:
sensor:
- platform: internal_temperature
name: "Internal Temperature"
name: Internal Temperature
- platform: ble_client
type: characteristic
ble_client_id: ble_foo
@@ -3239,25 +3239,25 @@ lcd_menu:
lambda: 'ESP_LOGI("lcd_menu", "root leave");'
items:
- type: back
text: 'Back'
text: Back
- type: label
- type: menu
text: 'Submenu 1'
text: Submenu 1
items:
- type: back
text: 'Back'
text: Back
- type: menu
text: 'Submenu 21'
text: Submenu 21
items:
- type: back
text: 'Back'
text: Back
- type: command
text: 'Show Main'
text: Show Main
on_value:
then:
- display_menu.show_main:
- type: select
text: 'Enum Item'
text: Enum Item
immediate_edit: true
select: test_select
on_enter:
@@ -3270,7 +3270,7 @@ lcd_menu:
then:
lambda: 'ESP_LOGI("lcd_menu", "select value: %s, %s", it->get_text().c_str(), it->get_value_text().c_str());'
- type: number
text: 'Number'
text: Number
number: test_number
on_enter:
then:
@@ -3282,15 +3282,15 @@ lcd_menu:
then:
lambda: 'ESP_LOGI("lcd_menu", "number value: %s, %s", it->get_text().c_str(), it->get_value_text().c_str());'
- type: command
text: 'Hide'
text: Hide
on_value:
then:
- display_menu.hide:
- type: switch
text: 'Switch'
text: Switch
switch: my_switch
on_text: 'Bright'
off_text: 'Dark'
on_text: Bright
off_text: Dark
immediate_edit: false
on_value:
then: