mirror of
https://github.com/esphome/esphome.git
synced 2024-11-13 02:37:47 +01:00
Fix pm1006 polling component definition (#3210)
This commit is contained in:
parent
8cb9be7560
commit
ccce4b19e8
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,9 @@ CODEOWNERS = ["@habbie"]
|
||||||
DEPENDENCIES = ["uart"]
|
DEPENDENCIES = ["uart"]
|
||||||
|
|
||||||
pm1006_ns = cg.esphome_ns.namespace("pm1006")
|
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(
|
CONFIG_SCHEMA = cv.All(
|
||||||
|
|
Loading…
Reference in a new issue