UNPKG

node-switchbot

Version:

The node-switchbot is a Node.js module which allows you to control your Switchbot Devices through Bluetooth (BLE) with automatic OpenAPI fallback.

12 lines 356 B
import type { ContactStatus } from '../types/device.js'; import { SwitchBotDevice } from './base.js'; /** * Contact Sensor (Door/Window Sensor) */ export declare class WoContact extends SwitchBotDevice { /** * Get device status (BLE-first, API-fallback) */ getStatus(): Promise<ContactStatus>; } //# sourceMappingURL=wo-contact.d.ts.map