mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
changed bearer_token to access_token in conf file
This commit is contained in:
parent
dccd9f562f
commit
cd896627ea
@ -28,7 +28,7 @@ def get_devices(hass, config):
|
||||
"and `git submodule update`?"))
|
||||
|
||||
return []
|
||||
token = config["bearer_token"]
|
||||
token = config["access_token"]
|
||||
pywink.set_bearer_token(token)
|
||||
|
||||
switches = pywink.get_bulbs()
|
||||
@ -39,7 +39,6 @@ def get_devices(hass, config):
|
||||
return [WinkLight(switch) for switch in switches]
|
||||
|
||||
|
||||
|
||||
class WinkLight(ToggleDevice):
|
||||
"""
|
||||
Represents a Lifx light
|
||||
|
@ -21,7 +21,7 @@ def get_devices(hass, config):
|
||||
"and `git submodule update`?"))
|
||||
|
||||
return []
|
||||
token = config["bearer_token"]
|
||||
token = config["access_token"]
|
||||
pywink.set_bearer_token(token)
|
||||
|
||||
switches = pywink.get_switches()
|
||||
|
Loading…
x
Reference in New Issue
Block a user