I have this bit in an automation, and I keep getting the following error when I try to run it:
expected float for dictionary value @ data['value']. Got None
alias: Set Runtime action: input_number.set_value data: value: {{ (as_timestamp(states('input_datetime.dryer_stop_time')) - as_timestamp(states('input_datetime.dryer_start_time'))) | float(0) }} target: entity_id: input_number.runtime
I have "float(0)" so I'm making it a float, so I don't understand what the issue is.