Text Text Sensor
The Text component Text Sensor platform allows you to view the state of any text component as a read-only text sensor.
# Example configuration entrytext_sensor: - platform: text name: "Text state" source_id: my_text
text: - platform: template id: my_text name: "My Text" optimistic: true min_length: 0 max_length: 100 mode: textConfiguration variables
Section titled “Configuration variables”- source_id (Required, ID): The source text to observe.
- All other options from Text Sensor.