It's currently possible to turn a bulb on and run a waveform using the following JSON:
{
"command": "transform",
"args": {
"matcher": {
"serial": "d073d5xxxxxx"
},
"transform": {
"color": "red",
"effect": "breathe",
"cycles": 2,
"period": 0.5,
"transient": true,
"power": "on"
}
}
}
It would be super peachy keen if transient applied to the power status of the bulb as well, i.e. if I'm turning the bulb on and I'm setting transient to true and the bulb was off, then the bulb should turn be turned off again afterwards too.
Perhaps an addition to transform_options called transient_power as a boolean?