setPowerState method

Future<void> setPowerState(
  1. ServerPowerAction powerAction
)

Implementation

Future<void> setPowerState(ServerPowerAction powerAction) => _send(
      ServerWebsocketSendEvent.setState,
      powerAction.toJson(),
    );