Device class of existing sensor

Hello
How can I get information about the device class of an already existing sensor?

Developer tools → States. It will be listed in the attributes column if it has one.

Thank you for your instant answer.
I understand that if this information is missing a default general purpose sensor is being used.

If there is nothing listed then it is device_class: none