mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
fix ha-card-condition-state invert selector (#21711)
This commit is contained in:
parent
8c9996fc81
commit
3e1ea8d236
@ -102,7 +102,7 @@ export class HaCardConditionState extends LitElement {
|
||||
const data: StateConditionData = {
|
||||
...content,
|
||||
entity: this.condition.entity,
|
||||
invert: this.condition.state_not ? "true" : "false",
|
||||
invert: this.condition.state_not !== undefined ? "true" : "false",
|
||||
state: this.condition.state_not ?? this.condition.state,
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user