From 9e47bfb67eea5a2349a0d8d5e402a1312a7314c6 Mon Sep 17 00:00:00 2001 From: Michele Vomera Date: Wed, 15 May 2024 18:22:25 +0200 Subject: [PATCH] added web server version as variable --- components/common/web_server.yaml | 2 +- epp-crn01.yaml | 1 + epp-dmr01.yaml | 1 + epp-dmr02.yaml | 1 + epp-dmr03.yaml | 1 + epp-plg01.yaml | 1 + epp-plg02.yaml | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/components/common/web_server.yaml b/components/common/web_server.yaml index 8391453..79dcd43 100644 --- a/components/common/web_server.yaml +++ b/components/common/web_server.yaml @@ -18,5 +18,5 @@ web_server: # auth: # username: "${web_server_username}" # password: "${web_server_password}" - version: 3 + version: "${web_server_version}" local: true diff --git a/epp-crn01.yaml b/epp-crn01.yaml index 0375d37..65c325b 100644 --- a/epp-crn01.yaml +++ b/epp-crn01.yaml @@ -32,6 +32,7 @@ substitutions: dht_humidity_id: "${system_name}_humidity" dht_humidity_name: "${friendly_name} Humidity" dht_humidity_icon: "mdi:water-percent" + web_server_version: "3" packages: device: !include devices/ESPC3_Relay_X1.yaml diff --git a/epp-dmr01.yaml b/epp-dmr01.yaml index f3b0c8b..bcc2dfe 100644 --- a/epp-dmr01.yaml +++ b/epp-dmr01.yaml @@ -12,6 +12,7 @@ substitutions: project_name: "MAM.ESPHome Dimmer Light" version: 1.0.0 update_interval: 10s + web_server_version: "2" packages: device: !include devices/MOES_MS-105.yaml diff --git a/epp-dmr02.yaml b/epp-dmr02.yaml index c64987e..d1bd6ef 100644 --- a/epp-dmr02.yaml +++ b/epp-dmr02.yaml @@ -12,6 +12,7 @@ substitutions: project_name: "MAM.ESPHome Dimmer Light" version: 1.0.0 update_interval: 10s + web_server_version: "2" packages: device: !include devices/MOES_MS-105.yaml diff --git a/epp-dmr03.yaml b/epp-dmr03.yaml index fa686b0..e07d13e 100644 --- a/epp-dmr03.yaml +++ b/epp-dmr03.yaml @@ -12,6 +12,7 @@ substitutions: project_name: "MAM.ESPHome Dimmer Light" version: 1.0.0 update_interval: 10s + web_server_version: "2" packages: device: !include devices/MOES_MS-105.yaml diff --git a/epp-plg01.yaml b/epp-plg01.yaml index 355ced1..070287f 100644 --- a/epp-plg01.yaml +++ b/epp-plg01.yaml @@ -13,6 +13,7 @@ substitutions: version: 1.0.0 status_led_pin: GPIO4 update_interval: 10s + web_server_version: "3" packages: device: !include devices/Refoss_P11_PMP.yaml diff --git a/epp-plg02.yaml b/epp-plg02.yaml index 6563347..425370e 100644 --- a/epp-plg02.yaml +++ b/epp-plg02.yaml @@ -13,6 +13,7 @@ substitutions: version: 1.0.0 status_led_pin: GPIO4 update_interval: 10s + web_server_version: "3" packages: device: !include devices/Refoss_P11_PMP.yaml