Open bcutter opened 2 years ago
This is also impacting the H&T devices. I noticed those change from F to C on my graphs. I tried adding settings: temperature: { unit: "°F" }
However still shows as C units. The ShellyForHASS->Settings->Temperature (sample to convert to UI) does show that it read this configuration.yaml setting correctly.
Environment
Describe the bug
According to https://github.com/home-assistant/core/pull/69069 which was shipped with HA 2022.5 (see "Temperature Conversion" in the Breaking Changes section @ https://www.home-assistant.io/blog/2022/05/04/release-20225/#breaking-changes)
Currently e. g. all Shelly Plug S providing a "* - Device temperature" sensor seem to be affected by this:
So the needed
device_class: temperature
is simply missing.Steps to Reproduce
Expected behavior
Integration temperature sensors are compliant to HA 2022.5 and later.
Screenshots
Traceback/Error logs
Additional context
There seem to be no other negative effects (besides the missing ability to configure the unit of measurement in the UI) and everyone could easily work around this by setting the deviceclass using customize.yaml. But I think the integration should take care of this. ==> Update: setting it using customize.yaml did not change the UI. Maybe the integration has to do this._
From another integration (compliant):
ShellyforHASS integration (missing unit of measurement section ==> Update: same with set parameter using customize.yaml):