From 9b4b76d36458a06f0767191a669bf8aed12f4650 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 17 Jun 2015 22:37:19 +0200 Subject: [PATCH] fix return value --- homeassistant/components/sensor/bitcoin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/bitcoin.py b/homeassistant/components/sensor/bitcoin.py index 8d174981900..bc29198e6a0 100644 --- a/homeassistant/components/sensor/bitcoin.py +++ b/homeassistant/components/sensor/bitcoin.py @@ -113,7 +113,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None): "Unable to import blockchain. " "Did you maybe not install the 'blockchain' package?") - return None + return False wallet_id = config.get('wallet', None) password = config.get('password', None)