Skip to content

Commit

Permalink
update swversion and apiversion to last release
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusmotea committed Feb 12, 2022
1 parent 0d038ab commit 2e4aab5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BridgeEmulator/configManager/configHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ def load_config(self):
if "homeassistant" not in config:
config["homeassistant"] = {"enabled": False}

if int(config["swversion"]) < 1948086000:
config["swversion"] = "1948086000"
if config["apiversion"] != "1.47.0":
config["apiversion"] = "1.47.0"
if int(config["swversion"]) < 1949203030:
config["swversion"] = "1949203030"
if config["apiversion"] != "1.48.0":
config["apiversion"] = "1.48.0"

self.yaml_config["config"] = config
else:
Expand Down

0 comments on commit 2e4aab5

Please sign in to comment.