Fix withings webhook name (#101221)

This commit is contained in:
Joost Lekkerkerker
2023-10-02 21:23:09 +02:00
committed by Franck Nijhof
parent ced616fafa
commit ebf8061117
@@ -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,