Adding log line on setting items
This commit is contained in:
parent
bd2c931eaa
commit
60545b2909
@ -79,6 +79,7 @@ export class SmartHomeNG {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setItem(item: string, value: unknown): void {
|
setItem(item: string, value: unknown): void {
|
||||||
|
this.platform.log.info('Sending value', value, 'for', item);
|
||||||
const command = { 'cmd': 'item', 'id': item, 'val': value };
|
const command = { 'cmd': 'item', 'id': item, 'val': value };
|
||||||
this.send(command);
|
this.send(command);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user