1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Added wink component to auto-load other needed components

This commit is contained in:
Paulus Schoutsen
2015-01-10 23:47:23 -08:00
parent 249cf244ca
commit 6cd53f2ddf
10 changed files with 147 additions and 56 deletions

View File

@@ -15,6 +15,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"
@@ -23,6 +24,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'
@@ -54,6 +56,9 @@ ATTR_ENTITY_PICTURE = "entity_picture"
# The unit of measurement if applicable
ATTR_UNIT_OF_MEASUREMENT = "unit_of_measurement"
# Contains the information that is discovered
ATTR_DISCOVERED = "discovered"
# #### SERVICES ####
SERVICE_HOMEASSISTANT_STOP = "stop"