Fix negation condition
This commit is contained in:
parent
b3b9fd7086
commit
9555fd37dc
@ -279,7 +279,9 @@ interval:
|
|||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
- switch.is_on: enable_voice_support
|
- switch.is_on: enable_voice_support
|
||||||
- !micro_wake_word.is_running
|
- not:
|
||||||
|
condition:
|
||||||
|
micro_wake_word.is_running:
|
||||||
then:
|
then:
|
||||||
- micro_wake_word.start:
|
- micro_wake_word.start:
|
||||||
- script.execute: light_off
|
- script.execute: light_off
|
||||||
@ -306,7 +308,9 @@ api:
|
|||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
- switch.is_on: enable_voice_support
|
- switch.is_on: enable_voice_support
|
||||||
- !micro_wake_word.is_running
|
- not:
|
||||||
|
condition:
|
||||||
|
micro_wake_word.is_running:
|
||||||
then:
|
then:
|
||||||
- micro_wake_word.start:
|
- micro_wake_word.start:
|
||||||
- script.execute: light_off
|
- script.execute: light_off
|
||||||
|
Loading…
x
Reference in New Issue
Block a user