mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-09-28 04:17:47 +02:00
Add hyphen to supported name characters (#719)
Co-authored-by: Eike <ei-ke@users.noreply.github.com> Co-authored-by: Otto Winter <otto@otto-winter.com>
This commit is contained in:
parent
915b3ec57a
commit
db88fe7e32
@ -24,7 +24,7 @@ Configuration variables:
|
|||||||
|
|
||||||
- **name** (**Required**, string): This is the name of the node. It
|
- **name** (**Required**, string): This is the name of the node. It
|
||||||
should always be unique in your ESPhome network. May only contain lowercase
|
should always be unique in your ESPhome network. May only contain lowercase
|
||||||
characters, digits and underscores. See :ref:`esphome-changing_node_name`.
|
characters, digits, underscores and hyphens. See :ref:`esphome-changing_node_name`.
|
||||||
- **platform** (**Required**, string): The platform your board is on,
|
- **platform** (**Required**, string): The platform your board is on,
|
||||||
either ``ESP32`` or ``ESP8266``. See :ref:`esphome-arduino_version`.
|
either ``ESP32`` or ``ESP8266``. See :ref:`esphome-arduino_version`.
|
||||||
- **board** (**Required**, string): The board ESPHome should
|
- **board** (**Required**, string): The board ESPHome should
|
||||||
|
@ -62,7 +62,7 @@ Configuration variables:
|
|||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
In order to create a text sensor to show the textual representation of the wind direction
|
In order to create a text sensor to show the textual representation of the wind direction
|
||||||
the following config can be used. "tx20_id" needs to be replaced with the id of the TX20 sensor.
|
the following config can be used. "tx20_id" needs to be replaced with the id of the TX20 sensor (**not** with the id of the subsensors).
|
||||||
|
|
||||||
.. code-block:: yaml
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user