mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
New languages - Danish & Hungarian (#1376)
* New languages, Danish and Hungarian * Yeelight Wizard - Ensure correct hostname
This commit is contained in:
@@ -1483,7 +1483,15 @@ async function discover_yeelight_lights() {
|
||||
if (device.hostname !== "") {
|
||||
if (getHostInLights(device.hostname).length === 0) {
|
||||
var light = {};
|
||||
|
||||
light.host = device.hostname;
|
||||
|
||||
//Create a valid hostname
|
||||
if (device.domain)
|
||||
{
|
||||
light.host += '.' + device.domain;
|
||||
}
|
||||
|
||||
light.port = device.port;
|
||||
|
||||
if (device.txt) {
|
||||
|
Reference in New Issue
Block a user