Is it correct to be able to design a device with both attributes and buttons? I see that it’s possible; I created one and the api doesn’t have a problem returning both “attributes” and “actions” … but on that device, the attribute doesn’t show up on the UI.
Here’s my use case: I can test whether my garage door is (open, opening, closing, closed, or unknown). And I have 3 buttons (open it, close it, toggle it). Can I do that in all one device?
Another use case: a more generic thermostat device. It has several attributes that I’d like to display (temperature, humidity, whether the fan is running all the time or only when compressor is on, whether fan is running at the moment, etc.) and several actions (set cool temperature to X, set heat temperature to Y, set to “away” or “home” mode, set to “heat” “cool” or "auto"