| 161 | } |
| 162 | |
| 163 | StateTransaction Group::transaction() |
| 164 | { |
| 165 | // Do not pass state, because it is not the state of ALL lights in the group |
| 166 | return StateTransaction(state.getCommandAPI(), "/groups/" + std::to_string(id) + "/action", nullptr); |
| 167 | } |
| 168 | |
| 169 | void Group::setOn(bool on, uint8_t transition) |
| 170 | { |