mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Use the URL provided by the Wink API for subscriptions. (#23710)
* Use the URL provided by the Wink API for subscriptions. * Changed python-wink version
This commit is contained in:
parent
b9a72034f9
commit
a0230482bd
@ -329,8 +329,10 @@ def setup(hass, config):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
pywink.set_user_agent(USER_AGENT)
|
pywink.set_user_agent(USER_AGENT)
|
||||||
|
sub_details = pywink.get_subscription_details()
|
||||||
hass.data[DOMAIN]['pubnub'] = PubNubSubscriptionHandler(
|
hass.data[DOMAIN]['pubnub'] = PubNubSubscriptionHandler(
|
||||||
pywink.get_subscription_key())
|
sub_details[0],
|
||||||
|
origin=sub_details[1])
|
||||||
|
|
||||||
def _subscribe():
|
def _subscribe():
|
||||||
hass.data[DOMAIN]['pubnub'].subscribe()
|
hass.data[DOMAIN]['pubnub'].subscribe()
|
||||||
|
@ -3,8 +3,8 @@
|
|||||||
"name": "Wink",
|
"name": "Wink",
|
||||||
"documentation": "https://www.home-assistant.io/components/wink",
|
"documentation": "https://www.home-assistant.io/components/wink",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"pubnubsub-handler==1.0.3",
|
"pubnubsub-handler==1.0.4",
|
||||||
"python-wink==1.10.3"
|
"python-wink==1.10.5"
|
||||||
],
|
],
|
||||||
"dependencies": ["configurator"],
|
"dependencies": ["configurator"],
|
||||||
"codeowners": []
|
"codeowners": []
|
||||||
|
@ -894,7 +894,7 @@ psutil==5.6.2
|
|||||||
ptvsd==4.2.8
|
ptvsd==4.2.8
|
||||||
|
|
||||||
# homeassistant.components.wink
|
# homeassistant.components.wink
|
||||||
pubnubsub-handler==1.0.3
|
pubnubsub-handler==1.0.4
|
||||||
|
|
||||||
# homeassistant.components.pushbullet
|
# homeassistant.components.pushbullet
|
||||||
pushbullet.py==0.11.0
|
pushbullet.py==0.11.0
|
||||||
@ -1426,7 +1426,7 @@ python-vlc==1.1.2
|
|||||||
python-whois==0.7.1
|
python-whois==0.7.1
|
||||||
|
|
||||||
# homeassistant.components.wink
|
# homeassistant.components.wink
|
||||||
python-wink==1.10.3
|
python-wink==1.10.5
|
||||||
|
|
||||||
# homeassistant.components.awair
|
# homeassistant.components.awair
|
||||||
python_awair==0.0.4
|
python_awair==0.0.4
|
||||||
|
Loading…
x
Reference in New Issue
Block a user