mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-13 16:13:32 +02:00
Text sensor schema generator similar to sensor (#3172)
This commit is contained in:
@@ -13,7 +13,7 @@ CONF_PIPSOLAR_ID = "pipsolar_id"
|
||||
pipsolar_ns = cg.esphome_ns.namespace("pipsolar")
|
||||
PipsolarComponent = pipsolar_ns.class_("Pipsolar", cg.Component)
|
||||
|
||||
PIPSOLAR_COMPONENT_SCHEMA = cv.COMPONENT_SCHEMA.extend(
|
||||
PIPSOLAR_COMPONENT_SCHEMA = cv.Schema(
|
||||
{
|
||||
cv.Required(CONF_PIPSOLAR_ID): cv.use_id(PipsolarComponent),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user