Skip to content

Commit

Permalink
💡 remove mesh lights from local devices
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Mar 2, 2023
1 parent 6d1a5b4 commit 9436b5a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
2 changes: 2 additions & 0 deletions custom_components/xiaomi_miot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1332,6 +1332,8 @@ async def async_update(self):
elif not self.miot_device:
use_local = False
use_cloud = not use_local and self.miot_cloud
if not self.miot_device:
use_cloud = self.xiaomi_cloud
if not (mapping or local_mapping):
use_local = False
use_cloud = False
Expand Down
12 changes: 0 additions & 12 deletions custom_components/xiaomi_miot/core/miot_local_devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,19 +197,7 @@
'ksmb.treadmill.m1v1',
'leishi.light.eps112',
'leishi.light.eps118',
'leishi.light.wy0a01',
'leishi.light.wy0a02',
'leishi.light.wy0a03',
'leishi.light.wy0a04',
'leishi.light.wy0a05',
'leishi.light.wy0a06',
'leishi.light.wy0a07',
'leishi.light.wy0a08',
'leishi.light.wy0a09',
'leishi.light.wy0a10',
'leishi.light.wy0b01',
'leishi.light.wy0c01',
'leishi.light.wy0c02',
'leshi.light.wy0b01',
'leshi.light.wyfan',
'leshow.heater.bs1s',
Expand Down

0 comments on commit 9436b5a

Please sign in to comment.