Compare commits
2 commits
5b66f4718f
...
4d3a6f6e21
Author | SHA1 | Date | |
---|---|---|---|
4d3a6f6e21 | |||
ef46bf73d0 |
4 changed files with 5 additions and 1 deletions
|
@ -65,7 +65,7 @@ steps:
|
||||||
- virtualenv venv-drone
|
- virtualenv venv-drone
|
||||||
- venv-drone/bin/pip install -q esphome
|
- venv-drone/bin/pip install -q esphome
|
||||||
- |
|
- |
|
||||||
venv-drone/bin/esphome \
|
venv-drone/bin/esphome -q \
|
||||||
-s extra_version \
|
-s extra_version \
|
||||||
+$(venv-drone/bin/pip show esphome | grep ^Version | cut -d' ' -f2) \
|
+$(venv-drone/bin/pip show esphome | grep ^Version | cut -d' ' -f2) \
|
||||||
compile $(grep -l ^substitutions *.yaml)
|
compile $(grep -l ^substitutions *.yaml)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
esphome:
|
esphome:
|
||||||
name: ${device_id}
|
name: ${device_id}
|
||||||
name_add_mac_suffix: true
|
name_add_mac_suffix: true
|
||||||
|
friendly_name: "${device_name}"
|
||||||
project:
|
project:
|
||||||
name: "${project_name}"
|
name: "${project_name}"
|
||||||
version: "${project_version}"
|
version: "${project_version}"
|
||||||
|
|
|
@ -15,7 +15,9 @@ api:
|
||||||
|
|
||||||
ota:
|
ota:
|
||||||
- platform: esphome
|
- platform: esphome
|
||||||
|
id: ota_esphome
|
||||||
- platform: http_request
|
- platform: http_request
|
||||||
|
id: ota_http
|
||||||
|
|
||||||
update:
|
update:
|
||||||
- platform: http_request
|
- platform: http_request
|
||||||
|
|
|
@ -8,6 +8,7 @@ substitutions:
|
||||||
esphome:
|
esphome:
|
||||||
name: ${device_id}
|
name: ${device_id}
|
||||||
name_add_mac_suffix: true
|
name_add_mac_suffix: true
|
||||||
|
friendly_name: "${device_name}"
|
||||||
project:
|
project:
|
||||||
name: "${project_name}"
|
name: "${project_name}"
|
||||||
version: "${project_version}"
|
version: "${project_version}"
|
||||||
|
|
Loading…
Reference in a new issue