Set and retrieve device actions through Cloud Control API?