I've recently discovered condition-selectors and I'm trying to replace template-selectors.
The problem starts when trying to figure out why it isn't working: Stopped because of unknown reason at February 21, 2025 at 14:26:54 (runtime: 0.00 seconds)
My example:
'''
blueprint:
input:
enabler:
name: Enabler
default: []
selector:
condition:
variables:
enablers: !input enabler
enabler: "{{ enablers | select | list }}"
is_enabled: "{{ (enablers | count == 0) or (enabler | count > 0) }}"
trigger:
- platform: template
value_template: "{{ is_enabled }}"
'''
how can I figure out what is going wrong? HA is not telling me anything useful.