Use assignment expressions 20 (#57969)
This commit is contained in:
parent
398061706c
commit
487fa0a905
18 changed files with 29 additions and 52 deletions
|
@ -48,8 +48,7 @@ async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
|||
|
||||
debugpy.listen((conf[CONF_HOST], conf[CONF_PORT]))
|
||||
|
||||
wait = conf[CONF_WAIT]
|
||||
if wait:
|
||||
if conf[CONF_WAIT]:
|
||||
_LOGGER.warning(
|
||||
"Waiting for remote debug connection on %s:%s",
|
||||
conf[CONF_HOST],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue