From f72a1038cd6fae3e7102902bb5d2c2e2eea8a504 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Wed, 27 Sep 2023 08:55:48 +0200 Subject: [PATCH] Removed unnecessary refresh of relay's chips Solves #1068 --- ReleaseNotes.md | 3 ++- nspanel_esphome.yaml | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 8a05e95..342b546 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -19,4 +19,5 @@ There is compatibility between components with v4.0, v4.0.1 and v4.0.2, then you | Fix incorrect addressing on short press of button02 at buttonpage03 | Critical | `buttonpage03` | TFT (US model only) | | Fix incorrect service call for Media Player on short press at button pages | Medium | `buttonpageXX` | Blueprint | | Update to customization instructions | Low | N/A | GitHub page (docs) | -| Use UTC for date selection on weather pages | Low | `weatherXX` | Blueprint | \ No newline at end of file +| Use UTC for date selection on weather pages | Low | `weatherXX` | Blueprint | +| Removed unnecessary refresh of relay's chips | Low | `home` | ESPHome | \ No newline at end of file diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 4a069a7..60111b6 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -8,7 +8,7 @@ substitutions: ##### DON'T CHANGE THIS ##### - version: "4.0.1" + version: "4.0.2dev" ############################# ##### WIFI SETUP ##### @@ -911,7 +911,6 @@ binary_sensor: - wifi.connected: then: - switch.toggle: relay_1 - - script.execute: refresh_relays - script.execute: id: ha_button page: !lambda return id(current_page).state; @@ -950,7 +949,6 @@ binary_sensor: - wifi.connected: then: - switch.toggle: relay_2 - - script.execute: refresh_relays - script.execute: id: ha_button page: !lambda return id(current_page).state;