- Touchlink improvements:
⋅⋅⋅We need to add (3) new api's for Touchlink
interface ScanResult {
address: string | number;
}
interface Touchlink {
scanRequest(): Promise<ScanResult[]>;
identifyRequest(scanResult: ScanResult): Promise<void>;
resetToFactoryNew(scanResult: ScanResult): Promise<void>;
}
- Api to edit arbitrary configuration parameter from configuration.yaml (need to validate config before saving)
interface Touchlink {
setConfig(path: string, value: unknown): Promise<void>;
}
- Api to restart z2m
interface Restart {
restart(force: boolean): Promise<void>;
}