Working on UI config

This commit is contained in:
Serge Wagener 2022-02-10 18:15:59 +01:00
parent f9ae224ddc
commit 2d45bc6e3d
2 changed files with 19 additions and 1 deletions

View File

@ -10,6 +10,24 @@
"type": "string",
"required": true,
"default": "SmartHomeNG"
},
"host": {
"title": "SHNG Host",
"type": "string",
"required": true,
"default": "smarthome.local"
},
"port": {
"title": "SHNG Port",
"type": "number",
"required": true,
"default": 2424
},
"tls": {
"title": "TLS enabled",
"type": "boolean",
"required": true,
"default": false
}
}
}

View File

@ -196,7 +196,7 @@ export class Lightbulb implements AccessoryPlugin {
break;
default:
this.platform.log.warn('Cannot update color of', this.name, 'because RGB(W) items are missing');
this.platform.log.debug('Cannot update color of', this.name, 'because the light does not support colors');
break;
}
}