Hi,
I’m a bit puzzled by the error in my automation:
" Error: In ‘numeric_state’ condition: entity sensor.lazienka_gora_humidity state ‘“59.41”’ cannot be processed as a number"
but the value clearly is a number. Do you have an idea what can be the reason ?
The conditions are:
condition: and
conditions:
- condition: or
conditions:
- condition: time
after: '09:00:00'
before: '15:00:00'
weekday:
- mon
- tue
- wed
- thu
- fri
- sat
- condition: time
after: '10:30:00'
before: '15:00:00'
weekday:
- sun
- condition: time
after: '19:00:00'
before: '23:30:00'
weekday:
- sun
- mon
- tue
- wed
- thu
- fri
- sat
- condition: state
entity_id: switch.gniazdko_2
state: 'off'
- condition: numeric_state
entity_id: sensor.lazienka_gora_humidity
value_template: '"{{ (float(state.state) - 10)|float }}"'
above: sensor.wilgotnosc_na_gorze_srednia
attribute: humidity