Improve string formatting v3 (#33667)

* Improve string formatting v3

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

No files matched your search

@@ -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."