Use assignment expressions 20 (#57969)

This commit is contained in:
Marc Mueller 2021-10-20 20:31:00 +02:00 committed by GitHub
parent 398061706c
commit 487fa0a905
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 29 additions and 52 deletions

View file

@ -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],