Use f-strings in integrations starting with "F"and"G" (#32150)
* Use f-strings in integrations starting with F * Use f-strings in tests for integrations starting with F * Use f-strings in integrations starting with G * Use f-strings in tests for integrations starting with G * Fix pylint error * Fix broken test
This commit is contained in:
1 parent
496bd3dddf
commit
ad102b3840
59 files changed
+219
-344
No files matched your search
@@ -923,9 +923,9 @@ async def test_flux_with_multiple_lights(hass):
|
||||
|
||||
def event_date(hass, event, now=None):
|
||||
if event == SUN_EVENT_SUNRISE:
|
||||
print("sunrise {}".format(sunrise_time))
|
||||
print(f"sunrise {sunrise_time}")
|
||||
return sunrise_time
|
||||
print("sunset {}".format(sunset_time))
|
||||
print(f"sunset {sunset_time}")
|
||||
return sunset_time
|
||||
|
||||
with patch(
|
||||
|
||||
Reference in new issue
Block a user