Add example config to project information (#1225)

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
Jesse Hills 2021-06-09 18:56:15 +12:00 committed by GitHub
parent af1faecb64
commit 4e24de3848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 1 deletions

View File

@ -330,7 +330,17 @@ Project information
This allows creators to add the project name and version to the compiled code. It is currently only
exposed via the logger, mDNS and the device_info response via the native API. The format of the name
should be ``namespace.project_name``.
should be ``author_name.project_name``.
.. code-block:: yaml
# Example configuration
esphome:
...
project:
name: "jesse.leds_party"
version: "1.0.0"
See Also
--------