Bloomsky main component to load its platforms

This commit is contained in:
Paulus Schoutsen committed 2016-02-19 23:22:23 -08:00
1 parent f5f52010d1
commit fb9d8c79b5
4 files changed
+19 -3

No files matched your search

+4 -1
View File
@@ -13,6 +13,7 @@ import requests
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.entity_component import EntityComponent
from homeassistant.components import bloomsky
from homeassistant.const import (
ATTR_ENTITY_PICTURE,
HTTP_NOT_FOUND,
@@ -26,7 +27,9 @@ SCAN_INTERVAL = 30
ENTITY_ID_FORMAT = DOMAIN + '.{}'
# Maps discovered services to their platforms
DISCOVERY_PLATFORMS = {}
DISCOVERY_PLATFORMS = {
bloomsky.DISCOVER_CAMERAS: 'bloomsky',
}
STATE_RECORDING = 'recording'
STATE_STREAMING = 'streaming'