mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 11:56:25 +01:00
Fix pm1006 polling component definition (#3210)
This commit is contained in:
parent
8cb9be7560
commit
ccce4b19e8
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user