Skip to content

Commit

Permalink
Fix subscription issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmarks committed Sep 16, 2020
1 parent 8c9cfce commit cf0b9f8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gekitchen/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""GE Kitchen Appliances SDK"""

__version__ = "0.2.16"
__version__ = "0.2.17"


from .async_login_flow import (
Expand Down
2 changes: 1 addition & 1 deletion gekitchen/clients/websocket_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ async def keep_alive(self, keepalive: int = 30):

async def subscribe_all(self):
"""Subscribe to all appliances."""
msg_dict = {"kind": "websocket#subscribe", "action": "subscribe", "resources": ["/appliance/*"]}
msg_dict = {"kind": "websocket#subscribe", "action": "subscribe", "resources": ["/appliance/*/erd/*"]}
await self.send_dict(msg_dict)

async def subscribe_appliances(self, appliances: List[GeAppliance]):
Expand Down
2 changes: 1 addition & 1 deletion gekitchen/ge_appliance.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Classes to implement GE appliances"""
"""Data model for GE kitchen appliances"""

import logging
from weakref import WeakValueDictionary
Expand Down

0 comments on commit cf0b9f8

Please sign in to comment.