mirror of
https://github.com/parnic/node-intellicenter.git
synced 2025-06-17 02:21:53 -05:00
This adds a bunch of messages to retrieve and set various things on the controller. It also groups the messages under one export to simplify the process of using and discovering many of them from one location. Some of these are WIP/probably not portable to other systems. This also adds the ability to set multiple circuits at once.
10 lines
347 B
TypeScript
10 lines
347 B
TypeScript
import { ICRequest } from "./request.js";
|
|
/**
|
|
* Requests to change the status of items known to this controller.
|
|
*
|
|
* Turns one or more items on or off. Use the `objnam` of the circuit to be set.
|
|
*
|
|
* @returns the object used to issue this request
|
|
*/
|
|
export declare function SetItemStatus(item: string | string[], status: boolean): ICRequest;
|