Skip to content
This repository has been archived by the owner on Feb 16, 2024. It is now read-only.

Commit

Permalink
Remove dzVents version
Browse files Browse the repository at this point in the history
Not needed anymore
  • Loading branch information
DewGew authored Jul 1, 2020
1 parent 28b1133 commit e6e1256
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions smarthome.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,6 @@ def getAog(device):
aog.selectorLevelName = device.get("LevelNames")
aog.language = settings.get("Language")
aog.lastupdate = device.get("LastUpdate")
aog.dzvents = settings.get("dzVents")

# Try to get device specific voice control configuration from Domoticz
# Read it from the configuration file if not in Domoticz (for backward compatibility)
Expand Down Expand Up @@ -366,7 +365,6 @@ def deep_update(target, source):

settings = {}
settings['dzversion'] = "Unavailable"
settings['dzVents'] = "1.0.0"

def getSettings():
"""Get domoticz settings."""
Expand Down Expand Up @@ -396,7 +394,6 @@ def getVersion():
if r.status_code == 200:
vers = r.json()
settings['dzversion'] = vers['version']
settings['dzVents'] = vers['dzvents_version']

def getPlans(idx):
"""Get domoticz plan name."""
Expand Down

0 comments on commit e6e1256

Please sign in to comment.