Hi. I’m quite lost on this one.
I have 2 helpers defined and they both seem to work:
min: 0
max: 496
step: 1
mode: auto
unit_of_measurement: min
icon: mdi:timer-sync
friendly_name: næste forestilling om
and
min: 0
max: 240
step: 1
mode: auto
unit_of_measurement: min
icon: mdi:clock-time-eight-outline
friendly_name: nødvendig forvarmningstid
Which danish names can be translated to “next play in” and “nessesary time for heat up”
At the time of writing this post “nødvendig forvarmningstid” is 86.0 and “næste forestilling om” 31.0
I have (using web gui) created this automation:
alias: Varme aktiver komfortstatus
description: Forbered KINO til gæster
triggers:
- trigger: state
entity_id:
- number.forestilling_om
conditions:
- condition: numeric_state
entity_id: number.forestilling_om
attribute: mode
below: number.nodvendig_forvarmningstid
actions:
- metadata: {}
data: {}
target:
entity_id: input_boolean.varme_aktiv
action: input_boolean.turn_on
enabled: false
mode: single
But the condition alwais claims not to be met. Tracking shows:
Error: In 'numeric_state': In 'numeric_state' condition: entity number.forestilling_om state 'auto' cannot be processed as a number
Error: In 'numeric_state' condition: entity number.forestilling_om state 'auto' cannot be processed as a number
Any ideas?