diff --git a/homeassistant/components/light/decora.py b/homeassistant/components/light/decora.py
index 17cc741c59317b9e1b948c43d32396bbf6958895..6d502e15d6f3269daec004310503b23e46f04ff7 100644
--- a/homeassistant/components/light/decora.py
+++ b/homeassistant/components/light/decora.py
@@ -16,7 +16,7 @@ from homeassistant.components.light import (
     PLATFORM_SCHEMA)
 import homeassistant.helpers.config_validation as cv
 
-REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.1']
+REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.4']
 
 _LOGGER = logging.getLogger(__name__)
 
diff --git a/homeassistant/components/sensor/miflora.py b/homeassistant/components/sensor/miflora.py
index 77d77949ebd8cdb458cd8f8b15d0eb2f909405fa..56f8c3cfe47394bf209db9716b4a6c2b36174549 100644
--- a/homeassistant/components/sensor/miflora.py
+++ b/homeassistant/components/sensor/miflora.py
@@ -15,6 +15,7 @@ from homeassistant.const import (
     CONF_FORCE_UPDATE, CONF_MONITORED_CONDITIONS, CONF_NAME, CONF_MAC
 )
 
+
 REQUIREMENTS = ['miflora==0.2.0']
 
 _LOGGER = logging.getLogger(__name__)
@@ -60,12 +61,19 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
 def setup_platform(hass, config, add_devices, discovery_info=None):
     """Set up the MiFlora sensor."""
     from miflora import miflora_poller
-    from miflora.backends.gatttool import GatttoolBackend
+    try:
+        import bluepy.btle  # noqa: F401 # pylint: disable=unused-variable
+        from miflora.backends.bluepy import BluepyBackend
+        backend = BluepyBackend
+    except ImportError:
+        from miflora.backends.gatttool import GatttoolBackend
+        backend = GatttoolBackend
+    _LOGGER.debug('Miflora is using %s backend.', backend.__name__)
 
     cache = config.get(CONF_CACHE)
     poller = miflora_poller.MiFloraPoller(
         config.get(CONF_MAC), cache_timeout=cache,
-        adapter=config.get(CONF_ADAPTER), backend=GatttoolBackend)
+        adapter=config.get(CONF_ADAPTER), backend=backend)
     force_update = config.get(CONF_FORCE_UPDATE)
     median = config.get(CONF_MEDIAN)
     poller.ble_timeout = config.get(CONF_TIMEOUT)
@@ -135,7 +143,6 @@ class MiFloraSensor(Entity):
             data = self.poller.parameter_value(self.parameter)
         except IOError as ioerr:
             _LOGGER.info("Polling error %s", ioerr)
-            data = None
             return
 
         if data is not None:
diff --git a/requirements_all.txt b/requirements_all.txt
index f7c7ce2d889e758d39e1df1709246df593d04062..ffa7c4e1cbd7811b687c0bd29787e7ef27cdf0c5 100644
--- a/requirements_all.txt
+++ b/requirements_all.txt
@@ -141,7 +141,7 @@ blinkstick==1.1.8
 blockchain==1.4.0
 
 # homeassistant.components.light.decora
-# bluepy==1.1.1
+# bluepy==1.1.4
 
 # homeassistant.components.notify.aws_lambda
 # homeassistant.components.notify.aws_sns