[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
@@ -365,8 +365,8 @@ class HCDevice:
|
|||||||
if "max" in change:
|
if "max" in change:
|
||||||
self.features[uid]["max"] = change["max"]
|
self.features[uid]["max"] = change["max"]
|
||||||
else:
|
else:
|
||||||
#We wont have name for this item, so have to be careful
|
# We wont have name for this item, so have to be careful
|
||||||
#when resolving elsewhere
|
# when resolving elsewhere
|
||||||
self.features[uid] = change
|
self.features[uid] = change
|
||||||
|
|
||||||
elif resource == "/ni/info":
|
elif resource == "/ni/info":
|
||||||
|
|||||||
Reference in New Issue
Block a user