feat: add more device support

This commit is contained in:
sususweet
2025-09-24 18:20:58 +08:00
parent 2f88658fda
commit 39f88365e5
11 changed files with 161 additions and 23 deletions

View File

@@ -29,12 +29,14 @@ class MideaEntity(CoordinatorEntity[MideaDataUpdateCoordinator], Entity):
sn: str,
sn8: str,
model: str,
entity_key: str
) -> None:
"""Initialize the entity."""
super().__init__(coordinator)
self._device_id = device_id
self._device_name = device_name
self._device_type = device_type
self._entity_key = entity_key
self._sn = sn
self._sn8 = sn8
self._model = model