mirror of
https://github.com/esphome/esphome.git
synced 2025-08-01 16:07:47 +00:00
Fix code style issues: remove trailing whitespace, fix WiFi password length, add file ending newline
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
8d2078275d
commit
9476a4b1ce
@ -53,7 +53,7 @@ def test_deep_sleep_with_wifi_esp8266(generate_main):
|
|||||||
# Verify WiFi component is registered
|
# Verify WiFi component is registered
|
||||||
assert "wifi = new wifi::WiFiComponent();" in main_cpp
|
assert "wifi = new wifi::WiFiComponent();" in main_cpp
|
||||||
assert "App.register_component(wifi);" in main_cpp
|
assert "App.register_component(wifi);" in main_cpp
|
||||||
|
|
||||||
# Verify deep sleep component is registered
|
# Verify deep sleep component is registered
|
||||||
assert "deep_sleep_1 = new deep_sleep::DeepSleepComponent();" in main_cpp
|
assert "deep_sleep_1 = new deep_sleep::DeepSleepComponent();" in main_cpp
|
||||||
assert "App.register_component(deep_sleep_1);" in main_cpp
|
assert "App.register_component(deep_sleep_1);" in main_cpp
|
||||||
|
@ -7,7 +7,7 @@ esp8266:
|
|||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "test"
|
ssid: "test"
|
||||||
password: "test"
|
password: "testtest"
|
||||||
|
|
||||||
api:
|
api:
|
||||||
actions:
|
actions:
|
||||||
@ -21,4 +21,4 @@ api:
|
|||||||
|
|
||||||
deep_sleep:
|
deep_sleep:
|
||||||
id: deep_sleep_1
|
id: deep_sleep_1
|
||||||
run_duration: 10s
|
run_duration: 10s
|
||||||
|
Loading…
x
Reference in New Issue
Block a user