This commit is contained in:
Blackymas
2022-12-30 01:02:53 +01:00
4 changed files with 3 additions and 1 deletions

View File

@@ -2266,7 +2266,7 @@ action:
sequence:
- if:
- condition: template
value_template: '{{ repeat.item.entity|length > 0 and states[repeat.item.entity].state != "unavailable" }}'
value_template: '{{ repeat.item.entity|length > 0 and states[repeat.item.entity].state != "unavailable" and states[repeat.item.entity].state != "unknown" }}'
then:
- variables:
component_to_update: "{{ repeat.item.button }}"