shellies-ds9
Version:
Handles communication with the next generation of Shelly devices
20 lines • 568 B
TypeScript
import { Component } from './base';
import { Device } from '../devices';
export interface CloudAttributes {
connected: boolean;
}
export interface CloudConfig {
enable: boolean;
server: string | null;
}
/**
* Handles the Cloud services of a device.
*/
export declare class Cloud extends Component<CloudAttributes, CloudConfig> implements CloudAttributes {
/**
* Whether the device is connected to the Shelly cloud.
*/
readonly connected: boolean;
constructor(device: Device);
}
//# sourceMappingURL=cloud.d.ts.map