shenxn/ha-dyson

Core 2022.2.0: Sensor has device class temperature, state class measurement and unit °C with non-numeric value: off

Opened this issue · 0 comments

Since upgrading to HA core 2022.0, 2 of my fans have this warning in the logs yet a 3rd one does not.

The log entries are:

Sensor sensor.pure_hot_cool_temperature has device class temperature, state class measurement and unit °C thus indicating it has a numeric value; however, it has the non-numeric value: off (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.
Sensor sensor.pure_cool_temperature has device class temperature, state class measurement and unit °C thus indicating it has a numeric value; however, it has the non-numeric value: off (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.

The 3rd fan's sensor (Sensor sensor.pure_hot_cool_temperature_2) has the exact same state with no error.

Screenshot 2023-02-03 at 09 38 03


edit: after a restart, the 3rd fan showed the same log entry.

Sensor sensor.pure_cool_temperature_2 has device class temperature, state class measurement and unit °C thus indicating it has a numeric value; however, it has the non-numeric value: off (<class 'str'>); Please update your configuration if your entity is manually configured, otherwise report it to the custom integration author.