Skip to content

Commit

Permalink
🕶️ fix for unreadable entity (#1992)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 3, 2024
1 parent 4ef5093 commit 5346498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/xiaomi_miot/core/hass_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, device: 'Device', conv: 'BaseConv'):
self._attr_translation_key = conv.prop.friendly_name
self._miot_service = conv.prop.service
self._miot_property = conv.prop
if not conv.prop.readable():
if not conv.prop.readable:
self._attr_available = True

elif isinstance(conv, MiotActionConv):
Expand Down

0 comments on commit 5346498

Please # to comment.