Remove unnecessary assignment of Template.hass from velbus (#123696)

This commit is contained in:
Erik Montnemery 2024-08-12 21:50:11 +02:00 committed by GitHub
parent 9d67956fc8
commit bf55cc605a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,7 +119,6 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
async def set_memo_text(call: ServiceCall) -> None:
"""Handle Memo Text service call."""
memo_text = call.data[CONF_MEMO_TEXT]
memo_text.hass = hass
await (
hass.data[DOMAIN][call.data[CONF_INTERFACE]]["cntrl"]
.get_module(call.data[CONF_ADDRESS])