mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Minor updates on sharing page (#2722)
This commit is contained in:
parent
9f22bf66ff
commit
bff961afc6
@ -7,6 +7,10 @@ Sharing ESPHome devices
|
|||||||
We have added configuration options to ESPHome to make it easier
|
We have added configuration options to ESPHome to make it easier
|
||||||
to create, configure, install and distribute devices running ESPHome.
|
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
|
Example configuration
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
@ -14,10 +18,13 @@ Example configuration
|
|||||||
|
|
||||||
# These substitutions allow the end user to override certain values
|
# These substitutions allow the end user to override certain values
|
||||||
substitutions:
|
substitutions:
|
||||||
name: "project-template-32"
|
name: "project-template"
|
||||||
|
friendly_name: "Project Template"
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: "${name}"
|
name: "${name}"
|
||||||
|
# Friendly names are used where appropriate in Home Assistant
|
||||||
|
friendly_name: "${friendly_name}"
|
||||||
# Automatically add the mac address to the name
|
# Automatically add the mac address to the name
|
||||||
# so you can use a single firmware for all devices
|
# so you can use a single firmware for all devices
|
||||||
name_add_mac_suffix: true
|
name_add_mac_suffix: true
|
||||||
|
Loading…
Reference in New Issue
Block a user