Skip to content

Commit

Permalink
🔠 improve for select entity (#2097)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 18, 2024
1 parent 5bff16a commit fa09f01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions custom_components/xiaomi_miot/core/miot_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -895,8 +895,6 @@ def is_integer(self):
def use_desc(self, domain=None):
if domain not in ['sensor', 'select']:
return False
if self.unit and self.unit not in ['none', 'null']:
return False
if self.value_list:
return True
return False
Expand Down

0 comments on commit fa09f01

Please sign in to comment.