23 files
This commit is contained in:
1 parent
64c401593c
commit
a0b8f10638
23 files changed
+5343
-79
No files matched your search
@@ -79,7 +79,7 @@ from .const import (
|
||||
DOMAIN,
|
||||
EXTRA_CONTROL,
|
||||
EXTRA_SENSOR,
|
||||
supports_model,
|
||||
supports_device,
|
||||
)
|
||||
from .midea_devices import MIDEA_DEVICES
|
||||
|
||||
@@ -956,8 +956,9 @@ class MideaLanOptionsFlowHandler(OptionsFlow):
|
||||
"dict",
|
||||
MIDEA_DEVICES[cast("int", self._device_type)]["entities"],
|
||||
).items():
|
||||
if not supports_model(
|
||||
if not supports_device(
|
||||
self._config_entry.data.get(CONF_MODEL),
|
||||
self._config_entry.data.get(CONF_SUBTYPE, 0),
|
||||
attribute_config,
|
||||
):
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user