Improve string formatting v2 (#33645)

* Improve string formatting v2

* Improve string formatting v3

* Address review comments
This commit is contained in:
springstan authored and GitHub committed 2020-04-04 23:09:34 +02:00
1 parent d2e70eb967
commit dde93304d3
28 files changed
+42 -40

No files matched your search

+1 -1
View File
@@ -105,7 +105,7 @@ def app_fixture(hass, config_file):
app.app_type = "WEBHOOK_SMART_APP"
app.classifications = [CLASSIFICATION_AUTOMATION]
app.display_name = "Home Assistant"
app.description = hass.config.location_name + " at " + hass.config.api.base_url
app.description = f"{hass.config.location_name} at {hass.config.api.base_url}"
app.single_instance = True
app.webhook_target_url = webhook.async_generate_url(
hass, hass.data[DOMAIN][CONF_WEBHOOK_ID]