Skip to main content
method SwitchBotAPI.prototype.sendDeviceCommand
import { SwitchBotAPI } from "https://deno.land/x/switchbotapi@0.1/SwitchBotAPI.ts";

Parameters

deviceId: string
command: SwitchBotDeviceCommand

Returns

Promise<void>