UNPKG

@chazepps/homebridge-hejhome

Version:

The Hejhome plugin allows you to access your Hejhome device(s) from HomeKit.

7 lines 339 B
import { hejRequest } from './request.js'; export const control = async (platform, deviceId, body) => { const res = await hejRequest(platform, 'POST', `dashboard/control/${deviceId}`, body, false); platform.log.debug(`Control device: ${deviceId}${JSON.stringify(body)}`); return res; }; //# sourceMappingURL=control.js.map