Fix atom integration for long term statistics (#54285)
Fix atom integration for long term statistics (#54285)

* Fix atom integration for long term statistics

* Remove commented code

* Fix last_reset syntax

* last_reset not an extra attribute

* last_reset as utc

* black formatting

* isort fix
rohitranjan1991/home-assistant,lukas-hetzenecker/home-assistant,rohitranjan1991/home-assistant,lukas-hetzenecker/home-assistant,toddeye/home-assistant,home-assistant/home-assistant,w1ll1am23/home-assistant,FreekingDean/home-assistant,jawilson/home-assistant,aronsky/home-assistant,GenericStudent/home-assistant,GenericStudent/home-assistant,home-assistant/home-assistant,rohitranjan1991/home-assistant,sander76/home-assistant,nkgilley/home-assistant,mezz64/home-assistant,w1ll1am23/home-assistant,nkgilley/home-assistant,jawilson/home-assistant,mezz64/home-assistant,toddeye/home-assistant,Danielhiversen/home-assistant,FreekingDean/home-assistant,Danielhiversen/home-assistant,sander76/home-assistant,aronsky/home-assistant