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)