How to use the pywemo.ouimeaux_device.switch.Switch.__init__ function in pywemo

To help you get started, we’ve selected a few pywemo examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pavoni / pywemo / pywemo / ouimeaux_device / humidifier.py View on Github external
def __init__(self, *args, **kwargs):
        """Create a WeMo Humidifier device."""
        Switch.__init__(self, *args, **kwargs)
        self._attributes = {}
        self.update_attributes()
github pavoni / pywemo / pywemo / ouimeaux_device / dimmer.py View on Github external
def __init__(self, *args, **kwargs):
        """Create a WeMo Dimmer device."""
        Switch.__init__(self, *args, **kwargs)
        self._brightness = None
github pavoni / pywemo / pywemo / ouimeaux_device / coffeemaker.py View on Github external
def __init__(self, *args, **kwargs):
        """Create a WeMo CoffeeMaker device."""
        Switch.__init__(self, *args, **kwargs)
        self._attributes = {}
github pavoni / pywemo / pywemo / ouimeaux_device / insight.py View on Github external
def __init__(self, *args, **kwargs):
        """Create a WeMo Switch device."""
        Switch.__init__(self, *args, **kwargs)
        self.insight_params = {}

        self.update_insight_params()