mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
syntax error---
This commit is contained in:
parent
86deb4397f
commit
1905df165a
@ -30,6 +30,7 @@ SENSORS_TO_TYPE = {
|
|||||||
CONF_PM_10_0: [CONF_PPD42, CONF_PPD42NJ, CONF_PPD42NS],
|
CONF_PM_10_0: [CONF_PPD42, CONF_PPD42NJ, CONF_PPD42NS],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
def validate_ppd42x_sensors(value):
|
def validate_ppd42x_sensors(value):
|
||||||
for key, types in SENSORS_TO_TYPE.items():
|
for key, types in SENSORS_TO_TYPE.items():
|
||||||
if key in value and value[CONF_TYPE] not in types:
|
if key in value and value[CONF_TYPE] not in types:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user