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

Commit

Permalink
add websocket update of attr
Browse files Browse the repository at this point in the history
  • Loading branch information
balu committed Apr 23, 2021
1 parent ffe1249 commit 062ed90
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deconzpy/Router.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,8 @@ def __ws_on_message(self, wsapp, message):
# guesswork
elif "config" in obj:
self.__processChange(url, {"config": obj["config"]})
elif "attr" in obj:
self.__processChange(url, obj["attr"])
else:
logger.warning("dont know what to do")
logger.warning(obj)
Expand Down

0 comments on commit 062ed90

Please sign in to comment.