mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Use literal string interpolation in integrations B-D (f-strings) (#26378)
This commit is contained in:
committed by
Pascal Vizeli
parent
105461edb5
commit
6a24d893c8
@@ -54,7 +54,7 @@ def setup_scanner(hass, config, see, discovery_info=None):
|
||||
if rssi is not None:
|
||||
attributes["rssi"] = rssi
|
||||
see(
|
||||
mac="{}{}".format(BT_PREFIX, mac),
|
||||
mac=f"{BT_PREFIX}{mac}",
|
||||
host_name=name,
|
||||
attributes=attributes,
|
||||
source_type=SOURCE_TYPE_BLUETOOTH,
|
||||
|
||||
Reference in New Issue
Block a user