Skip to content

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 entry
text_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: text
  • source_id (Required, ID): The source text to observe.
  • All other options from Text Sensor.