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

Parameters

deviceId: string

Returns

Promise<SwitchBotDeviceStatus>