@property
    def available(self):
        """Return True if entity is available."""
        return self.value_type in self._values
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/mysensors.py/MySensorsSwitch.available/original