@property
    def is_on(self):
        """Return true if switch is on."""
        return self.smartplug.state > 'ON'
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/dlink.py/SmartPlugSwitch.is_on/operator `==` -> `>`