mirror of
https://github.com/andvikt/mega_hacs.git
synced 2025-12-11 17:14:28 +05:00
remove crap entities
This commit is contained in:
@@ -69,6 +69,13 @@ class BaseMegaEntity(CoordinatorEntity, RestoreEntity):
|
||||
if self.http_cmd == 'ds2413':
|
||||
self.mega.ds2413_ports |= {self.port}
|
||||
|
||||
@property
|
||||
def enabled(self):
|
||||
if '<' in self.name:
|
||||
return False
|
||||
else:
|
||||
return super().enabled
|
||||
|
||||
@property
|
||||
def customize(self):
|
||||
if self.hass is None:
|
||||
|
||||
Reference in New Issue
Block a user