aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKaufman Home Automation <[email protected]>2022-03-16 11:09:57 -0700
committerGitHub <[email protected]>2022-03-16 11:09:57 -0700
commit868accf32d375e3ddadc28dd208097b014f107c3 (patch)
treedb11a40ca55abd15cc31253fd9688e804e836fdf
parent0871b6aa9061af2c0e22409c7bca7154491819df (diff)
downloadPLF10-868accf32d375e3ddadc28dd208097b014f107c3.tar.gz
PLF10-868accf32d375e3ddadc28dd208097b014f107c3.zip
rename no api to no hass
api could mean different things. Hass means just home assistant.
-rw-r--r--kauf-plug.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/kauf-plug.yaml b/kauf-plug.yaml
index e476d59..cc9badb 100644
--- a/kauf-plug.yaml
+++ b/kauf-plug.yaml
@@ -175,11 +175,11 @@ script:
- id: script_do_nothing
then:
- lambda: return;
- - id: script_no_api
+ - id: script_no_hass
then:
- delay: 1ms
- lambda: |-
- if ( id(switch_no_api).state ) {
+ if ( id(switch_no_hass).state ) {
id(kauf_api)->set_reboot_timeout(0);
id(kauf_api)->status_clear_warning();
}
@@ -233,17 +233,17 @@ switch:
light.turn_off: blue_led
- platform: template
- id: switch_no_api
- name: $friendly_name No API
+ id: switch_no_hass
+ name: $friendly_name No HASS
optimistic: true
restore_state: true
entity_category: config
disabled_by_default: $disable_entities
icon: mdi:toggle-switch-off-outline
on_turn_on:
- - script.execute: script_no_api
+ - script.execute: script_no_hass
on_turn_off:
- - script.execute: script_no_api
+ - script.execute: script_no_hass
forced_hash: 657159011
button: