mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Improve string formatting (#33643)
This commit is contained in:
@@ -135,4 +135,4 @@ def generate(integrations: Dict[str, Integration], config: Config):
|
||||
"""Generate zeroconf file."""
|
||||
zeroconf_path = config.root / "homeassistant/generated/zeroconf.py"
|
||||
with open(str(zeroconf_path), "w") as fp:
|
||||
fp.write(config.cache["zeroconf"] + "\n")
|
||||
fp.write(f"{config.cache['zeroconf']}\n")
|
||||
|
||||
Reference in New Issue
Block a user