1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

Fix pm1006 polling component definition (#3210)

This commit is contained in:
mipa87
2022-02-17 21:47:31 +01:00
committed by GitHub
parent 8cb9be7560
commit ccce4b19e8

View File

@@ -16,7 +16,9 @@ CODEOWNERS = ["@habbie"]
DEPENDENCIES = ["uart"]
pm1006_ns = cg.esphome_ns.namespace("pm1006")
PM1006Component = pm1006_ns.class_("PM1006Component", uart.UARTDevice, cg.Component)
PM1006Component = pm1006_ns.class_(
"PM1006Component", uart.UARTDevice, cg.PollingComponent
)
CONFIG_SCHEMA = cv.All(