Improve string formatting v3 (#33667)

* Improve string formatting v3

* Address review comment
This commit is contained in:
springstan
2020-04-05 01:32:58 +02:00
committed by GitHub
parent bf1b408038
commit c20a965eda
24 changed files with 32 additions and 37 deletions

View File

@@ -69,7 +69,7 @@ async def async_setup_entry(hass, entry, async_add_entities):
for variable in conditions:
if variable in _BINARY_TYPES_DEPRECATED:
wstr = (
variable + " is no a longer supported "
f"{variable} is no a longer supported "
"monitored_conditions. See "
"https://www.home-assistant.io/integrations/binary_sensor.nest/ "
"for valid options."