1 parent 0c4cb3a commit 2c12af8Copy full SHA for 2c12af8
2 files changed
custom_components/xiaomi_cloud_map_extractor/image.py
@@ -13,6 +13,7 @@
13
_LOGGER = logging.getLogger(__name__)
14
KEY = "live_map"
15
16
+
17
async def async_setup_entry(
18
hass: HomeAssistant,
19
config_entry: XiaomiCloudMapExtractorConfigEntry,
custom_components/xiaomi_cloud_map_extractor/legacy.py
@@ -409,8 +409,8 @@ async def create_config_entry_data_from_yaml(
409
mac = format_mac(device.mac)
410
name = device.name
411
server = device.server
412
- except BaseException:
413
- _LOGGER.error("Failed to connect to Xiaomi Cloud")
+ except BaseException as e:
+ _LOGGER.error("Failed to connect to Xiaomi Cloud", exc_info=e)
414
415
data = {
416
CONF_HOST: import_info[CONF_HOST],
0 commit comments