Working on UI config
This commit is contained in:
parent
f9ae224ddc
commit
2d45bc6e3d
@ -10,6 +10,24 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"required": true,
|
"required": true,
|
||||||
"default": "SmartHomeNG"
|
"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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -196,7 +196,7 @@ export class Lightbulb implements AccessoryPlugin {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user