def operation_list(self):
        """Return the list of available operation modes."""
        for p in self._prop_modes:
            return p.list_descriptions() or []
        return None
Return the list of available operation modes.
custom_components/xiaomi_miot/water_heater.py