mirror of
https://github.com/esphome/esphome.git
synced 2025-01-31 10:10:56 +00:00
Remove whitespace
This commit is contained in:
parent
1b49263a73
commit
9584ff4dc7
@ -37,14 +37,14 @@ def check_timeout(value):
|
||||
if value.total_seconds > 60:
|
||||
raise cv.Invalid("Maximum timeout can not be greater then 60 seconds")
|
||||
return value
|
||||
|
||||
|
||||
|
||||
def check_timing_budget(value):
|
||||
value = cv.positive_time_period_microseconds(value)
|
||||
if value.total_microseconds < 17000 or value.total_microseconds > 4294967295:
|
||||
raise cv.Invalid("Timing budget must be between 17000us and 4294967295us")
|
||||
return value
|
||||
|
||||
|
||||
|
||||
CONFIG_SCHEMA = cv.All(
|
||||
sensor.sensor_schema(
|
||||
|
Loading…
x
Reference in New Issue
Block a user