Removed unnecessary refresh of relay's chips

Solves #1068
This commit is contained in:
Edward Firmo
2023-09-27 08:55:48 +02:00
parent 4c738bbc51
commit f72a1038cd
2 changed files with 3 additions and 4 deletions

View File

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