String formatting improvements (#33635)
* String formatting improvements * Found another one
This commit is contained in:
parent
025cce3445
commit
e8a0abd107
39 changed files with 52 additions and 56 deletions
|
@ -139,7 +139,7 @@ class YrSensor(Entity):
|
|||
return None
|
||||
return (
|
||||
"https://api.met.no/weatherapi/weathericon/1.1/"
|
||||
"?symbol={0};content_type=image/png".format(self._state)
|
||||
f"?symbol={self._state};content_type=image/png"
|
||||
)
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue