mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
0651716b96
Co-authored-by: Senex Crenshaw <senexcrenshaw@gmail.com>
9 lines
261 B
Python
9 lines
261 B
Python
import esphome.codegen as cg
|
|
from esphome.components import uart
|
|
|
|
nextion_ns = cg.esphome_ns.namespace("nextion")
|
|
Nextion = nextion_ns.class_("Nextion", cg.PollingComponent, uart.UARTDevice)
|
|
nextion_ref = Nextion.operator("ref")
|
|
|
|
CONF_NEXTION_ID = "nextion_id"
|