mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Use literal string interpolation in integrations K-M (f-strings) (#26389)
This commit is contained in:
committed by
Pascal Vizeli
parent
ef0e9431b6
commit
7203027cbf
@@ -21,7 +21,7 @@ from .helpers import device_info
|
||||
|
||||
def sensor_id(webhook_id, unique_id):
|
||||
"""Return a unique sensor ID."""
|
||||
return "{}_{}".format(webhook_id, unique_id)
|
||||
return f"{webhook_id}_{unique_id}"
|
||||
|
||||
|
||||
class MobileAppEntity(Entity):
|
||||
|
||||
Reference in New Issue
Block a user