Compare commits

...

2 commits

Author SHA1 Message Date
4d3a6f6e21 autohuttli: build quietly
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-28 19:00:08 +00:00
ef46bf73d0 autohuttli: add a friendly name to each type 2024-10-28 18:59:55 +00:00
4 changed files with 5 additions and 1 deletions

View file

@ -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)

View file

@ -1,6 +1,7 @@
esphome:
name: ${device_id}
name_add_mac_suffix: true
friendly_name: "${device_name}"
project:
name: "${project_name}"
version: "${project_version}"

View file

@ -15,7 +15,9 @@ api:
ota:
- platform: esphome
id: ota_esphome
- platform: http_request
id: ota_http
update:
- platform: http_request

View file

@ -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}"