From 6a5f8e572c80df535cc0263bf218b5e433b0010a Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 24 Jul 2024 22:15:58 +0200 Subject: [PATCH] Update restful.py --- BridgeEmulator/flaskUI/restful.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BridgeEmulator/flaskUI/restful.py b/BridgeEmulator/flaskUI/restful.py index 205b67178..802b0d0e9 100644 --- a/BridgeEmulator/flaskUI/restful.py +++ b/BridgeEmulator/flaskUI/restful.py @@ -59,7 +59,7 @@ def buildConfig(): result = staticConfig() config = bridgeConfig["config"] result.update({"Hue Essentials key": config["Hue Essentials key"], "Remote API enabled": config["Remote API enabled"], "apiversion": config["apiversion"], "bridgeid": config["bridgeid"], - "ipaddress": config["ipaddress"], "netmask": config["netmask"], "gateway": config["gateway"], "mac": config["mac"], "name": config["name"], "swversion": config["swversion"], "swupdate2": config["swupdate2"], "timezone": config["timezone"]}) + "ipaddress": config["ipaddress"], "netmask": config["netmask"], "gateway": config["gateway"], "mac": config["mac"], "name": config["name"], "swversion": config["swversion"], "swupdate2": config["swupdate2"], "timezone": config["timezone"], "discovery": config["discovery"]}) result["UTC"] = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%S") result["localtime"] = datetime.now().strftime("%Y-%m-%dT%H:%M:%S") result["whitelist"] = {}