Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions homeassistant/components/binary_sensor/bloomsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@

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)
Expand Down
4 changes: 0 additions & 4 deletions homeassistant/components/camera/bloomsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up access to BloomSky cameras."""
# Protect against people having setup the bloomsky platforms
if discovery_info is None:
return

bloomsky = get_component('bloomsky')
for device in bloomsky.BLOOMSKY.devices.values():
add_devices([BloomSkyCamera(bloomsky.BLOOMSKY, device)])
Expand Down
4 changes: 0 additions & 4 deletions homeassistant/components/sensor/bloomsky.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@
# pylint: disable=unused-argument
def setup_platform(hass, config, add_devices, discovery_info=None):
"""Set up the available BloomSky weather 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)
Expand Down