mirror of
https://github.com/esphome/esphome.git
synced 2025-10-21 03:03:50 +01:00
[tests] Remove superfluous else-blocks from lambdas (#11322)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
committed by
GitHub
parent
85f1019d90
commit
d5c36eaf2a
@@ -23,9 +23,8 @@ binary_sensor:
|
||||
- lambda: |-
|
||||
if (id(some_binary_sensor).state) {
|
||||
return x;
|
||||
} else {
|
||||
return {};
|
||||
}
|
||||
return {};
|
||||
- settle: 100ms
|
||||
- timeout: 10s
|
||||
|
||||
|
Reference in New Issue
Block a user