Use literal string interpolation in integrations T-W (f-strings) (#26394)
This commit is contained in:
parent
cde09062c4
commit
ef0e9431b6
50 changed files with 128 additions and 132 deletions
|
@ -124,7 +124,7 @@ def create_climate_device(tado, hass, zone, name, zone_id):
|
|||
max_temp = float(temperatures["celsius"]["max"])
|
||||
step = temperatures["celsius"].get("step", PRECISION_TENTHS)
|
||||
|
||||
data_id = "zone {} {}".format(name, zone_id)
|
||||
data_id = f"zone {name} {zone_id}"
|
||||
device = TadoClimate(
|
||||
tado,
|
||||
name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue