Traceback (most recent call last):


 "/home/ha/homeassistant/bin/hass", line 8, in <module>

sys.exit(main())


 "/home/ha/homeassistant/lib/python3.7/site-packages/homeassistant/__main__.py", line 342, in main

exit_code = asyncio.run(setup_and_run_hass(config_dir, args))


 "/usr/local/lib/python3.7/asyncio/runners.py", line 43, in run

return loop.run_until_complete(main)


 "/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete

return future.result()


 "/home/ha/homeassistant/lib/python3.7/site-packages/homeassistant/__main__.py", line 249, in setup_and_run_hass

safe_mode=args.safe_mode,


 "/home/ha/homeassistant/lib/python3.7/site-packages/homeassistant/bootstrap.py", line 83, in async_setup_hass

config_dict = await conf_util.async_hass_config_yaml(hass)


 "/home/ha/homeassistant/lib/python3.7/site-packages/homeassistant/config.py", line 308, in async_hass_config_yaml

await merge_packages_config(hass, config, core_config.get(CONF_PACKAGES, {}))


 "/home/ha/homeassistant/lib/python3.7/site-packages/homeassistant/config.py", line 643, in merge_packages_config

merge_type, _ = _identify_config_schema(component)


 "/home/ha/homeassistant/lib/python3.7/site-packages/homeassistant/config.py", line 575, in _identify_config_schema

default_value = schema(key.default())
TypeError: 'Undefined' object is not callable

Traceback (most recent call last):


 "/usr/lib/python3.6/logging/__init__.py", line 994, in emit

msg = self.format(record)


 "/usr/lib/python3.6/logging/__init__.py", line 840, in format

return fmt.format(record)


 "/usr/lib/python3.6/logging/__init__.py", line 577, in format

record.message = record.getMessage()


 "/usr/lib/python3.6/logging/__init__.py", line 338, in getMessage

msg = msg % self.args
TypeError: not all arguments converted during string formatting
