mirror of
https://github.com/home-assistant/core.git
synced 2025-12-27 22:34:47 +00:00
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:
@@ -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