Keep Home Assistant and project firmware versions in sync

This commit is contained in:
Max Gramser
2026-09-12 16:17:44 +02:00
parent 1d4e93227f
commit 366d8ff4c2
4 changed files with 12 additions and 8 deletions
+3 -2
View File
@@ -1,6 +1,7 @@
# Guition ESP32-S3-4848S040 / 4-inch EU wallbox, 480x480 IPS + GT911. # Guition ESP32-S3-4848S040 / 4-inch EU wallbox, 480x480 IPS + GT911.
# Use guition-device.yaml; see docs/GUITION.md. CYD hardware is a separate profile. # Use guition-device.yaml; see docs/GUITION.md. CYD hardware is a separate profile.
substitutions: substitutions:
SCREEN_FIRMWARE_VERSION: "0.2.1"
DYNAMIC_TILES: "false" DYNAMIC_TILES: "false"
DASHBOARD_INBOX_INTERNAL: "true" DASHBOARD_INBOX_INTERNAL: "true"
DEVICE_NAME: "guition-wallbox" DEVICE_NAME: "guition-wallbox"
@@ -582,7 +583,7 @@ esphome:
min_version: 2026.6.2 min_version: 2026.6.2
project: project:
name: maxgramser.esp_screen name: maxgramser.esp_screen
version: "0.2.1" version: "${SCREEN_FIRMWARE_VERSION}"
platformio_options: platformio_options:
build_flags: build_flags:
- -DLV_USE_SNAPSHOT=1 - -DLV_USE_SNAPSHOT=1
@@ -1323,7 +1324,7 @@ text_sensor:
- platform: template - platform: template
name: "Schermfirmware" name: "Schermfirmware"
entity_category: diagnostic entity_category: diagnostic
lambda: 'return {"0.2.0"};' lambda: 'return {"${SCREEN_FIRMWARE_VERSION}"};'
update_interval: 60s update_interval: 60s
- platform: template - platform: template
id: smartdisplay_action id: smartdisplay_action
+3 -2
View File
@@ -58,6 +58,7 @@
############################################################ ############################################################
substitutions: substitutions:
SCREEN_FIRMWARE_VERSION: "0.2.1"
DYNAMIC_TILES: "false" DYNAMIC_TILES: "false"
DASHBOARD_INBOX_INTERNAL: "true" DASHBOARD_INBOX_INTERNAL: "true"
DEVICE_NAME: "cyd-new" DEVICE_NAME: "cyd-new"
@@ -777,7 +778,7 @@ esphome:
min_version: 2026.6.2 min_version: 2026.6.2
project: project:
name: maxgramser.esp_screen name: maxgramser.esp_screen
version: "0.2.1" version: "${SCREEN_FIRMWARE_VERSION}"
includes: includes:
- cyd_ui.h - cyd_ui.h
- light_controls.h - light_controls.h
@@ -1513,7 +1514,7 @@ text_sensor:
- platform: template - platform: template
name: "Schermfirmware" name: "Schermfirmware"
entity_category: diagnostic entity_category: diagnostic
lambda: 'return {"0.2.0"};' lambda: 'return {"${SCREEN_FIRMWARE_VERSION}"};'
update_interval: 60s update_interval: 60s
- platform: template - platform: template
id: smartdisplay_action id: smartdisplay_action
+3 -2
View File
@@ -59,6 +59,7 @@
############################################################ ############################################################
substitutions: substitutions:
SCREEN_FIRMWARE_VERSION: "0.2.1"
DYNAMIC_TILES: "true" DYNAMIC_TILES: "true"
DASHBOARD_INBOX_INTERNAL: "false" DASHBOARD_INBOX_INTERNAL: "false"
DEVICE_NAME: "cyd-new" DEVICE_NAME: "cyd-new"
@@ -781,7 +782,7 @@ esphome:
min_version: 2026.6.2 min_version: 2026.6.2
project: project:
name: maxgramser.esp_screen name: maxgramser.esp_screen
version: "0.2.1" version: "${SCREEN_FIRMWARE_VERSION}"
includes: includes:
- <esphome/components/smart_display/cyd_ui.h> - <esphome/components/smart_display/cyd_ui.h>
- <esphome/components/smart_display/light_controls.h> - <esphome/components/smart_display/light_controls.h>
@@ -1466,7 +1467,7 @@ text_sensor:
- platform: template - platform: template
name: "Schermfirmware" name: "Schermfirmware"
entity_category: diagnostic entity_category: diagnostic
lambda: 'return {"0.2.0"};' lambda: 'return {"${SCREEN_FIRMWARE_VERSION}"};'
update_interval: 60s update_interval: 60s
- platform: template - platform: template
id: smartdisplay_action id: smartdisplay_action
+3 -2
View File
@@ -2,6 +2,7 @@
# Guition ESP32-S3-4848S040 / 4-inch EU wallbox, 480x480 IPS + GT911. # Guition ESP32-S3-4848S040 / 4-inch EU wallbox, 480x480 IPS + GT911.
# Use guition-device.yaml; see docs/GUITION.md. CYD hardware is a separate profile. # Use guition-device.yaml; see docs/GUITION.md. CYD hardware is a separate profile.
substitutions: substitutions:
SCREEN_FIRMWARE_VERSION: "0.2.1"
DYNAMIC_TILES: "true" DYNAMIC_TILES: "true"
DASHBOARD_INBOX_INTERNAL: "false" DASHBOARD_INBOX_INTERNAL: "false"
DEVICE_NAME: "guition-new" DEVICE_NAME: "guition-new"
@@ -586,7 +587,7 @@ esphome:
min_version: 2026.6.2 min_version: 2026.6.2
project: project:
name: maxgramser.esp_screen name: maxgramser.esp_screen
version: "0.2.1" version: "${SCREEN_FIRMWARE_VERSION}"
platformio_options: platformio_options:
build_flags: build_flags:
- -DLV_USE_SNAPSHOT=1 - -DLV_USE_SNAPSHOT=1
@@ -1276,7 +1277,7 @@ text_sensor:
- platform: template - platform: template
name: "Schermfirmware" name: "Schermfirmware"
entity_category: diagnostic entity_category: diagnostic
lambda: 'return {"0.2.0"};' lambda: 'return {"${SCREEN_FIRMWARE_VERSION}"};'
update_interval: 60s update_interval: 60s
- platform: template - platform: template
id: smartdisplay_action id: smartdisplay_action