소스 검색

config_flow: remove redundant local variable

Last change moved some code into a separate function, leaving behind
a local variable that was no longer used.
Jason Rumney 1 년 전
부모
커밋
6735634fac
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      custom_components/tuya_local/config_flow.py

+ 0 - 1
custom_components/tuya_local/config_flow.py

@@ -621,7 +621,6 @@ async def async_test_connection(config: dict, hass: HomeAssistant):
         await asyncio.sleep(5)
 
     try:
-        subdevice_id = config.get(CONF_DEVICE_CID)
         device = await hass.async_add_executor_job(
             create_test_device,
             hass,