@therealdb said in Play buttons on the Set Reaction area:
actions are not shown, in fact.
Right, if it doesn't know the capabilities of the device, it can't show actions because it doesn't know what they are. But it can copy existing attributes, which is the "x_vera" stuff.
It exists today that you can write your own rules for defining a device (for all HA controllers types, not just Vera). I'm not releasing this as a documented feature yet because I still have much other work to do, and I'm trying to keep the number of variables down for the moment until things stabilize. It's also the case that if you have a local device definition and later a system definition is added, your local config would hide the system config and make debugging more difficult: for any device problem, I first have to investigate if you've made a local override or not. There are many administrative/logistical issues that go beyond just what's possible in the code.
For things like thermostats, though, very necessary for you to be able to self-configure, because Vera itself does not provide sufficient information. You really can't reliably tell from looking at a Vera thermostat device if it's auto-changeover, dual setpoint or single with differential (or not), has fan control or not, what fan modes it has, has humidifer, has dehumidifier, etc. I don't see not relying on local user intelligence to get this done, at least for Vera. But that's slightly different from defining a device class. Overrides for a single device are planned as well, so that will encompass not just defining what capabilities the device has, but other convenience things like giving the device a nicer or more distinct name than the source controller uses (no 20 char limits!).