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

@@ -12,7 +12,7 @@ import logging
from homeassistant.helpers.entity_component import EntityComponent
from homeassistant.helpers.entity import Entity
from homeassistant.const import (STATE_ON, STATE_OFF)
from homeassistant.components import (mysensors, )
from homeassistant.components import (bloomsky, mysensors)
DOMAIN = 'binary_sensor'
SCAN_INTERVAL = 30
@@ -32,6 +32,7 @@ SENSOR_CLASSES = [
# Maps discovered services to their platforms
DISCOVERY_PLATFORMS = {
bloomsky.DISCOVER_BINARY_SENSORS: 'bloomsky',
mysensors.DISCOVER_BINARY_SENSORS: 'mysensors',
}