aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufman Home Automation <[email protected]>2022-06-03 13:19:39 -0700
committerGitHub <[email protected]>2022-06-03 13:19:39 -0700
commit03526f0885bb45a29184405c250d391fb6c378d5 (patch)
tree41f0128c632803767177daec1479c8a9f19953ed
parent26e543c02a40e4a7a7bf896fd39bf87f0d552d49 (diff)
downloadPLF10-03526f0885bb45a29184405c250d391fb6c378d5.tar.gz
PLF10-03526f0885bb45a29184405c250d391fb6c378d5.zip
remove clear wifi button
added web-based functionality instead.
-rw-r--r--kauf-plug-update.yaml15
1 files changed, 1 insertions, 14 deletions
diff --git a/kauf-plug-update.yaml b/kauf-plug-update.yaml
index ce0a251..1c90706 100644
--- a/kauf-plug-update.yaml
+++ b/kauf-plug-update.yaml
@@ -7,6 +7,7 @@ substitutions:
default_button_config: "Toggle on Release"
+
packages:
kauf_plug_base:
url: https://github.com/KaufHA/PLF10
@@ -39,7 +40,6 @@ wifi:
# enable wifi ap, which was not needed in dashboard import version
ap:
- ssid: ${friendly_name} Hotspot
ap_timeout: 2147483647ms # maximum 32 bit value. About 3.5 weeks in milliseconds.
# by default, fast_connect is disabled. Will automatically be enabled by wifi component
@@ -103,16 +103,3 @@ script:
- lambda: |-
ESP_LOGD("KAUF on_boot","------------------->>>>>>>>>>>>>>>>> wifi connected, cranking ap timeout back up");
wifi_wificomponent->set_ap_timeout(2147483647);
-
-
-button:
- - platform: template
- id: clear_wifi_button
- name: $friendly_name Clear Wifi Credentials
- entity_category: diagnostic
- disabled_by_default: true
- on_press:
- then:
- - lambda: wifi_wificomponent->clear_stored_creds();
- - delay: 2s
- - button.press: restart_button