mirror of
https://github.com/esphome/esphome.git
synced 2025-11-19 08:15:49 +00:00
Add Entity categories for Home Assistant (#2636)
This commit is contained in:
@@ -108,6 +108,7 @@ async def substitute_filter_to_code(config, filter_id):
|
||||
|
||||
icon = cv.icon
|
||||
|
||||
|
||||
TEXT_SENSOR_SCHEMA = cv.ENTITY_BASE_SCHEMA.extend(cv.MQTT_COMPONENT_SCHEMA).extend(
|
||||
{
|
||||
cv.OnlyWith(CONF_MQTT_ID, "mqtt"): cv.declare_id(mqtt.MQTTTextSensor),
|
||||
|
||||
Reference in New Issue
Block a user