File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
homeassistant/components/zha Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 88from contextlib import suppress
99from enum import StrEnum
1010import json
11+ import logging
1112import os
1213from typing import Any
1314
5758 ZhaRadioManager ,
5859)
5960
61+ _LOGGER = logging .getLogger (__name__ )
62+
6063CONF_MANUAL_PATH = "Enter Manually"
6164DECONZ_DOMAIN = "deconz"
6265
@@ -527,6 +530,7 @@ async def async_step_maybe_reset_old_radio(
527530 try :
528531 await self ._reset_old_radio_task
529532 except HomeAssistantError :
533+ _LOGGER .exception ("Failed to reset old radio during migration" )
530534 # Old adapter not found or cannot connect, show prompt to plug back in
531535 return self .async_show_progress_done (next_step_id = "plug_in_old_radio" )
532536 finally :
@@ -785,6 +789,7 @@ async def async_step_restore_backup(
785789 next_step_id = "pre_confirm_ezsp_ieee_overwrite"
786790 )
787791 except HomeAssistantError :
792+ _LOGGER .exception ("Failed to restore network backup to new radio" )
788793 # User unplugged the new adapter, allow retry
789794 return self .async_show_progress_done (next_step_id = "pre_plug_in_new_radio" )
790795 except CannotWriteNetworkSettings as exc :
You can’t perform that action at this time.
0 commit comments