Please allow to add state_class and last_reset to allow for long term statistics

This is about the integration min_max (Min/Max - Home Assistant), handled by @fabaff on GitHub

With the addition of the long-term statistics, the properties state_class and last_reset are necessary for these to be considered by HA as suitable.
Could it be possible to allow the user to specify the state_class and last_reset on the configuration of the min/max sensor, please? This way we can see the min_max sensors as statistics too.
It would also be great if we could specify device_class!
Have a great day and thank you for the great work!



Additional information

Did you try using customize to add these attributes?