Fix pm1006 polling component definition (#3210)
This commit is contained in:
1 parent
8cb9be7560
commit
ccce4b19e8
1 file changed
+3
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user