diff --git a/nspanel_blueprint.yaml b/nspanel_blueprint.yaml index c957ef5..28674f8 100644 --- a/nspanel_blueprint.yaml +++ b/nspanel_blueprint.yaml @@ -2268,7 +2268,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 }}"