Is it possible to exclude depending on helper value
sweede-se opened this issue · 2 comments
sweede-se commented
Hi,
Is it possible to exclude any sensors who's values are below a input_number helper? Have tried the code below but it doesn't work.
filter:
include:
- name: attributes.device_class
value: battery
exclude:
- name: state
value: {{ (states('input_number.batteriniva') | int() }}
operator: '>'
pinkfloydFR commented
Don't know what exatly you want, or if is already solved, but simply :
exclude:
- name: state
value: 40
operator: '>'
maxwroc commented
@sweede-se Sorry, currently such option is not available.