* feat: add state_class for sensor
* feat: add optional state_class and unit_of_measurement for properties
* feat:add support for state_class and unit process
* style: fix pylint format
* style: fix pylint format
* sytle: change logic to suit conversation
---------
Co-authored-by: LiShuzhen <SusanPhevos@gmail.com>