History_stats start/end parse error

I am fairly new to Home Assistant. Trying to create a sensor that will tell me when my dishwasher is running (based on power usage). I created all the sensors via UI. The problem I’m running into is with the HA giving me a parse error for the template in the dishwasher_power_spike_duration sensor (of history_stats type).

Parsing error: start must be a datetime or a timestamp: could not convert string to float: '"2025-05-05 15:11:34.912463-07:00"'

Here is what the start/end fields look like:

Any guesses as to what I’m doing wrong?

Pretty sure you don’t use quotes around your templates in the UI text boxes.

Doh, that was it. Told you I was new to it. :slight_smile:

1 Like