mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-22 21:58:29 +02:00
51ab15c40e
Co-authored-by: functionpointer <suspendfunction@gmail.com>
13 lines
395 B
Python
13 lines
395 B
Python
import esphome.codegen as cg
|
|
from esphome.components import uart
|
|
|
|
CODEOWNERS = ["@functionpointer"]
|
|
DEPENDENCIES = ["uart"]
|
|
|
|
hydreon_rgxx_ns = cg.esphome_ns.namespace("hydreon_rgxx")
|
|
RGModel = hydreon_rgxx_ns.enum("RGModel")
|
|
RG15Resolution = hydreon_rgxx_ns.enum("RG15Resolution")
|
|
HydreonRGxxComponent = hydreon_rgxx_ns.class_(
|
|
"HydreonRGxxComponent", cg.PollingComponent, uart.UARTDevice
|
|
)
|