Need to pass device too
This commit is contained in:
parent
a91ad43a30
commit
9dfe7ae7b1
1 changed files with 2 additions and 1 deletions
|
@ -5,8 +5,9 @@ import websocket
|
||||||
from .. import Backend
|
from .. import Backend
|
||||||
|
|
||||||
class PushbulletBackend(Backend):
|
class PushbulletBackend(Backend):
|
||||||
def _init(self, token):
|
def _init(self, token, device=None):
|
||||||
self.token = token
|
self.token = token
|
||||||
|
self.device = device
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _on_init(ws):
|
def _on_init(ws):
|
||||||
|
|
Loading…
Reference in a new issue