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

@@ -17,7 +17,7 @@ from homeassistant.const import (
)
from homeassistant.core import HomeAssistant
from homeassistant.helpers.template import Template
from .const import EVENT_BINARY_SENSOR, DOMAIN, CONF_CUSTOM, CONF_SKIP, CONF_INVERT, CONF_RESPONSE_TEMPLATE
from .const import DOMAIN, CONF_CUSTOM, CONF_SKIP, CONF_INVERT
from .entities import MegaPushEntity
from .hub import MegaD
from .tools import int_ignore