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:
Ian Leeder 2020-07-30 08:02:46 +10:00 committed by GitHub
parent 915b3ec57a
commit db88fe7e32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ Configuration variables:
- **name** (**Required**, string): This is the name of the node. It
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,
either ``ESP32`` or ``ESP8266``. See :ref:`esphome-arduino_version`.
- **board** (**Required**, string): The board ESPHome should

View File

@ -62,7 +62,7 @@ Configuration variables:
.. note::
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