Revert "Add interval recovery"
This reverts commit 68dfd8529e77207fa1d12e6d75a26ea012fe5e7b.
This commit is contained in:
parent
b6a61edcf4
commit
7710a11254
@ -194,22 +194,6 @@ script:
|
||||
id(supersensor_occupancy).publish_state(false);
|
||||
}
|
||||
|
||||
interval:
|
||||
- interval: 1s
|
||||
then:
|
||||
- if:
|
||||
condition:
|
||||
api.connected:
|
||||
then:
|
||||
- if:
|
||||
condition:
|
||||
and:
|
||||
- switch.is_on: use_wake_word
|
||||
- not:
|
||||
- voice_assistant.is_running
|
||||
then:
|
||||
- voice_assistant.start_continuous:
|
||||
|
||||
logger:
|
||||
level: DEBUG
|
||||
baud_rate: 115200
|
||||
@ -444,6 +428,7 @@ binary_sensor:
|
||||
has_target:
|
||||
name: "LD2410C Presence"
|
||||
id: radar_presence
|
||||
icon: mdi:motion-sensor
|
||||
device_class: motion
|
||||
on_press:
|
||||
- script.execute: occupancy_detect_handler
|
||||
|
Loading…
x
Reference in New Issue
Block a user