|
|
@@ -40,6 +40,10 @@ CONFIG_SCHEMA = vol.Schema({
|
|
|
async def async_setup(hass, config):
|
|
|
"""Set up the SmartIR component."""
|
|
|
conf = config.get(DOMAIN)
|
|
|
+
|
|
|
+ if conf is None:
|
|
|
+ return True
|
|
|
+
|
|
|
check_updates = conf[CONF_CHECK_UPDATES]
|
|
|
update_branch = conf[CONF_UPDATE_BRANCH]
|
|
|
|