1 parent
c193d80ec5
commit
7e9dcfa4c9
3 files changed
-12
No files matched your search
@@ -31,10 +31,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
|
||||
|
||||
def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
"""Set up the available BloomSky weather binary sensors."""
|
||||
# Protect against people having setup the bloomsky platforms
|
||||
if discovery_info is None:
|
||||
return
|
||||
|
||||
bloomsky = get_component('bloomsky')
|
||||
# Default needed in case of discovery
|
||||
sensors = config.get(CONF_MONITORED_CONDITIONS, SENSOR_TYPES)
|
||||
|
||||
Reference in new issue
Block a user