From 6d92e7cb05047daadf5cb3237b0f5519cd0b30b7 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Sat, 8 Sep 2018 17:01:55 +0200 Subject: [PATCH] linting --- custom_components/hassbian_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/hassbian_config.py b/custom_components/hassbian_config.py index 7e0ddc4..5f8c050 100644 --- a/custom_components/hassbian_config.py +++ b/custom_components/hassbian_config.py @@ -14,8 +14,9 @@ _LOGGER = logging.getLogger(__name__) + def setup(hass, config): - """Setup the component.""" + """Component the setup.""" import pyhassbian def install_suite_service(call): @@ -51,7 +52,6 @@ def upgrade_os_service(call): pyhassbian.os_upgrade() _LOGGER.info('Upgrade of the base OS are done.') - if pyhassbian.is_installed(): _LOGGER.info('hassbian-config found, registering services.') hass.services.register(DOMAIN, 'install_suite', install_suite_service)