Hello,
I’m relatively new to HA, and it’s taken some time but I have been able to work through all issues… except this!
I need a trend sensor for my HVAC temperature. I have added the helper, and configured it every way possible, all I get is the following in my logs:
Error processing sensor state change for entity_id=sensor.abq_office_kitchen_nativezone_temperature, attribute=state_class, state=72: could not convert string to float: <SensorStateClass.MEASUREMENT: 'measurement'>
I can confirm that the sensor it is trying to pull the data from does indeed display the temperature.
I have even tried creating a “Combine the states” helper (it shows the temperature properly), and then tried using the Trend sensor to pull from that.
And all I get is…
Error processing sensor state change for entity_id=sensor.temp_test, attribute=unit_of_measurement, state=72.0: could not convert string to float: <UnitOfTemperature.FAHRENHEIT: '°F'>
I would truly appreciate any help as this is all that is keeping me from completing a large HVAC automation.

