Where to find Entity/Device Attributes/Properties?

Might seem like a silly question, but where do I locate what a device/entity has the ability to do?

Ex. My aqara button can one click, double click, long press, and hold… Where do I find this out so I can locate the name of command?
My sengled light has on/off, yee lights can change colors, etc.

Thanks

Attributes can be found under Developer Tools -> States

What it can do… isn’t so easily found. There is a supported_features attribute on some devices, that you can check against the source to decode. Not all entities have that, and in many cases it’s controlled by the device, not something HA has control over.

For entities like that, your best option is to see what a search finds, and experiment with the device.

Well, thankfully I’m not losing my mind! I looked everywhere thinking there had to be something I was glancing over. Yeah, most of my entities within dev > state do not display much in the way of command properties. Thanks!