XZG icon indicating copy to clipboard operation
XZG copied to clipboard

sensor.uzg_01_esp_temperature no longer has a state class

Open spitfire opened this issue 1 year ago • 4 comments

Describe the bug Home Assistant states that sensor.uzg_01_esp_temperature (the sensor provided from my ZigBee gateway running XZG) no longer has a state class. This prevents it from being able to have long term statistics stored.

To Reproduce Connect your GW running XZG to Home Assistant using MQTT, look at the fixes section in settings

Expected behavior Sensors provided by XZG have a state class

spitfire avatar Nov 05 '24 09:11 spitfire

version?

xyzroe avatar Nov 05 '24 17:11 xyzroe

20240914

spitfire avatar Nov 05 '24 17:11 spitfire

You can try the latest

xyzroe avatar Nov 06 '24 12:11 xyzroe

You can try the latest

I was not brave enough to test it at first (warnings on the release page!), but it does seem to fix this issue (statistics seem to be recorded and HA does not complain anymore).

spitfire avatar Nov 06 '24 23:11 spitfire