mirror of
https://github.com/esphome/esphome.git
synced 2025-03-15 15:18:16 +00:00
last chance++++++++++
This commit is contained in:
parent
dc91e85ba4
commit
97c564e385
@ -71,7 +71,7 @@ def to_code(config):
|
|||||||
if CONF_PM_10_0 in config:
|
if CONF_PM_10_0 in config:
|
||||||
for pl_10_0_ in gpio_input_pin_expression(config[CONF_PIN_10_0]):
|
for pl_10_0_ in gpio_input_pin_expression(config[CONF_PIN_10_0]):
|
||||||
yield
|
yield
|
||||||
conf = config[CONF_PM_10_0]
|
conf = config[CONF_PM_10_0]
|
||||||
sensor.register_sensor(ppd.make_pl_10_0_sensor(conf[CONF_NAME], pl_10_0_.copy()), conf)
|
sensor.register_sensor(ppd.make_pl_10_0_sensor(conf[CONF_NAME], pl_10_0_.copy()), conf)
|
||||||
|
|
||||||
setup_component(ppd, config)
|
setup_component(ppd, config)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user