Is there documentation about the different kinds of metadata? I don’t know much (if not practically nothing) about it, but can’t seem to find any documentation around it.
I e.g. just learned there’s a feature to have a delayed command/update when a switch is switched (Expiration Timer). I’m eager to find out other gems like this.
There is no central documentation for what I’ll call “well known” metadata. The concept of metadata is covered in the Concepts page for Items: Items | openHAB.
Not all of the well known metadata is relevant all the time for all users. For example, the Google Assistant metadata is irrelevant for those not using Google Assistant. But that metadata is in fact documented in the Google Assistant docs, same for Alexa.
In MainUI you can find all the well known metadata options by navigating to Settings → Items → Any Item from the list. Click on “Add Metadata” and you’ll see them all in a list. Selecting one will give you a form explaining and letting you set any of the options for that metadata.
No. You can change the commands to an Item using a profile but not Item metadata.
Let’s say you have an Item that represents a remote control. The device expects commands that are a number: e.g. 1, 2, 3, etc. But you want to use something more meaningful in OH so you can map 1 to "Play" through the Command Options. So in OH you use "Play" everywhere but when you command the Item with "Play" it gets mapped to 1 before it goes to the device.