Skip to content

Commit

Permalink
update swversion and apiversion
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmotea authored Apr 1, 2023
1 parent 455d30c commit bff9212
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions BridgeEmulator/configManager/configHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ def load_config(self):
if "tpkasa" not in config:
config["tpkasa"] = {"enabled": True}

if int(config["swversion"]) < 1955082050:
config["swversion"] = "1955082050"
if float(config["apiversion"][:3]) < 1.55:
config["apiversion"] = "1.55.0"
if int(config["swversion"]) < 19561788040:
config["swversion"] = "19561788040"
if float(config["apiversion"][:3]) < 1.56:
config["apiversion"] = "1.56.0"

self.yaml_config["config"] = config
else:
Expand All @@ -84,10 +84,10 @@ def load_config(self):
"deconz":{"enabled":False},
"alarm":{"enabled": False,"lasttriggered": 0},
"apiUsers":{},
"apiversion":"1.46.0",
"apiversion":"1.56.0",
"name":"DiyHue Bridge",
"netmask":"255.255.255.0",
"swversion":"1946157000",
"swversion":"19561788040",
"timezone":"Europe/London",
"linkbutton":{"lastlinkbuttonpushed": 1599398980},
"users":{"admin@diyhue.org":{"password":"pbkdf2:sha256:150000$bqqXSOkI$199acdaf81c18f6ff2f29296872356f4eb78827784ce4b3f3b6262589c788742"}},
Expand Down

0 comments on commit bff9212

Please sign in to comment.