diff --git a/custom_components/xiaomi_miot/core/hass_entity.py b/custom_components/xiaomi_miot/core/hass_entity.py index dd23c12c1..f7976935f 100644 --- a/custom_components/xiaomi_miot/core/hass_entity.py +++ b/custom_components/xiaomi_miot/core/hass_entity.py @@ -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):