(self)
return self.state.attributes.get(self.modes_list_attribute, []) or []
Returns list of supported HA modes for this entity.
Returns list of supported HA modes for this entity.
Returns list of supported HA modes for this entity .
def supported_ha_modes(self) -> list[str]:
        """Returns list of supported HA modes for this entity."""
        return self.state.attributes.get(self.modes_list_attribute, []) or []
def supported_ha_modes ( self ) -> list [ str ] : return self . state . attributes . get ( self . modes_list_attribute , [ ] ) or [ ]