Fix withings webhook name (#101221)

This commit is contained in:
Joost Lekkerkerker 2023-10-01 20:55:00 +02:00 committed by Franck Nijhof
parent ced616fafa
commit ebf8061117
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -160,7 +160,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
webhook_name = "Withings"
if entry.title != DEFAULT_TITLE:
webhook_name += " ".join([webhook_name, entry.title])
webhook_name = " ".join([DEFAULT_TITLE, entry.title])
webhook_register(
hass,