fix HA 2025.1 compatibility; cleanup

This commit is contained in:
d.dmitriev
2025-02-16 14:17:34 +05:00
parent 40ae6041ae
commit 3856088e79
9 changed files with 47 additions and 42 deletions

View File

@@ -10,7 +10,7 @@ from aiohttp.web_response import Response
from homeassistant.helpers.template import Template
from homeassistant.components.http import HomeAssistantView
from homeassistant.core import HomeAssistant
from .const import EVENT_BINARY_SENSOR, DOMAIN, CONF_RESPONSE_TEMPLATE
from .const import EVENT_BINARY_SENSOR, CONF_RESPONSE_TEMPLATE
from .tools import make_ints
from . import hub as h