Minor updates on sharing page (#2722)

This commit is contained in:
Jesse Hills 2023-03-06 19:42:36 +13:00 committed by GitHub
parent 9f22bf66ff
commit bff961afc6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,10 @@ Sharing ESPHome devices
We have added configuration options to ESPHome to make it easier
to create, configure, install and distribute devices running ESPHome.
No part of a "template" configuration should have any references to secrets,
or have passwords pre-applied. ESPHome makes it easy for the end-user to add these
themselves after they adopt the device into their own ESPHome dashboard.
Example configuration
---------------------
@ -14,10 +18,13 @@ Example configuration
# These substitutions allow the end user to override certain values
substitutions:
name: "project-template-32"
name: "project-template"
friendly_name: "Project Template"
esphome:
name: "${name}"
# Friendly names are used where appropriate in Home Assistant
friendly_name: "${friendly_name}"
# Automatically add the mac address to the name
# so you can use a single firmware for all devices
name_add_mac_suffix: true