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
|
||||
- venv-drone/bin/pip install -q esphome
|
||||
- |
|
||||
venv-drone/bin/esphome \
|
||||
venv-drone/bin/esphome -q \
|
||||
-s extra_version \
|
||||
+$(venv-drone/bin/pip show esphome | grep ^Version | cut -d' ' -f2) \
|
||||
compile $(grep -l ^substitutions *.yaml)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
esphome:
|
||||
name: ${device_id}
|
||||
name_add_mac_suffix: true
|
||||
friendly_name: "${device_name}"
|
||||
project:
|
||||
name: "${project_name}"
|
||||
version: "${project_version}"
|
||||
|
|
|
@ -15,7 +15,9 @@ api:
|
|||
|
||||
ota:
|
||||
- platform: esphome
|
||||
id: ota_esphome
|
||||
- platform: http_request
|
||||
id: ota_http
|
||||
|
||||
update:
|
||||
- platform: http_request
|
||||
|
|
|
@ -8,6 +8,7 @@ substitutions:
|
|||
esphome:
|
||||
name: ${device_id}
|
||||
name_add_mac_suffix: true
|
||||
friendly_name: "${device_name}"
|
||||
project:
|
||||
name: "${project_name}"
|
||||
version: "${project_version}"
|
||||
|
|
Loading…
Reference in a new issue