mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-24 17:08:15 +01:00
Copy and paste error
There was, what I believe to be a copy and paste error carried over from the mqtt sensor which only allows numeric data.
This commit is contained in:
parent
ef560f1d93
commit
a15796d857
@ -23,7 +23,7 @@ Configuration variables:
|
||||
------------------------
|
||||
|
||||
- **name** (**Required**, string): The name of the text sensor.
|
||||
- **topic** (**Required**, string): The MQTT topic to listen for numeric messages.
|
||||
- **topic** (**Required**, string): The MQTT topic to listen for string data.
|
||||
- **qos** (*Optional*, int): The MQTT QoS to subscribe with. Defaults to ``0``.
|
||||
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation.
|
||||
- All other options from :ref:`Text Sensor <config-text_sensor>`.
|
||||
|
Loading…
Reference in New Issue
Block a user