Add unique_id support to history stats sensor

Please add unique_id support to history stats sensor, and honestly to all other entities – I think it should work globally anywhere.

Yes, please!!!
It’s way better to be able to update the entities from the UI!

Hope this will come soon.

I just went to use this integration for the first time because it’s a perfect solution for a sensor I wanted to build, but I can’t believe unique_id isn’t supported…

A start would be to add unique_id to the tables statistics_meta and states_meta. This is not invasive and might help resolve/prevent problems caused by renaming entity_id or rediscovery of for example zigbee entities.

1 Like