mirror of
https://github.com/esphome/esphome.git
synced 2025-10-26 12:43:48 +00:00
Text sensor schema generator similar to sensor (#3172)
This commit is contained in:
@@ -40,7 +40,8 @@ RAW_ENCODING = {
|
||||
}
|
||||
|
||||
CONFIG_SCHEMA = cv.All(
|
||||
text_sensor.TEXT_SENSOR_SCHEMA.extend(cv.COMPONENT_SCHEMA)
|
||||
text_sensor.text_sensor_schema()
|
||||
.extend(cv.COMPONENT_SCHEMA)
|
||||
.extend(ModbusItemBaseSchema)
|
||||
.extend(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user