mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 18:39:30 +00:00
Merge branch 'component-wink' into dev
* component-wink: Wink component bug fixes Bugfixes to make Wink component work Added wink component to auto-load other needed components Initial version wink component by @loghound changed bearer_token to access_token in conf file Wink Hub integration of it's switches & lights Conflicts: homeassistant/components/switch/__init__.py homeassistant/const.py
This commit is contained in:
@@ -18,6 +18,7 @@ CONF_HOSTS = "hosts"
|
||||
CONF_USERNAME = "username"
|
||||
CONF_PASSWORD = "password"
|
||||
CONF_API_KEY = "api_key"
|
||||
CONF_ACCESS_TOKEN = "access_token"
|
||||
|
||||
# #### EVENTS ####
|
||||
EVENT_HOMEASSISTANT_START = "homeassistant_start"
|
||||
@@ -26,6 +27,7 @@ EVENT_STATE_CHANGED = "state_changed"
|
||||
EVENT_TIME_CHANGED = "time_changed"
|
||||
EVENT_CALL_SERVICE = "call_service"
|
||||
EVENT_SERVICE_EXECUTED = "service_executed"
|
||||
EVENT_SERVICE_DISCOVERED = "service_discovered"
|
||||
|
||||
# #### STATES ####
|
||||
STATE_ON = 'on'
|
||||
@@ -64,6 +66,9 @@ ATTR_TEMPERATURE = "temperature"
|
||||
TEMP_CELCIUS = "°C"
|
||||
TEMP_FAHRENHEIT = "°F"
|
||||
|
||||
# Contains the information that is discovered
|
||||
ATTR_DISCOVERED = "discovered"
|
||||
|
||||
# #### SERVICES ####
|
||||
SERVICE_HOMEASSISTANT_STOP = "stop"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user