"""
Fake classes to avoid RPi dependencies
"""
class Adafruit_DHT:
 DHT11 = 11
 def read_retry(sensor, pin):
   return(50, 20)

class Energenie:
  value = False
  def __init__(self, channel):
    pass
  def on(self):
    self.value = True
    return True
  def off(self):
    self.value = False
    return False

class serial:
  class Serial:
    def __init__(self, port, timeout):
      pass
    def write(self, value):
      pass
    def read(self, length):
      return []
6b162d412a5f25a8c64776ec223079704913d792
<mask token>


class Energenie:
    <mask token>

    def __init__(self, channel):
        pass

    def on(self):
        self.value = True
        return True

    def off(self):
        self.value = False
        return False


class serial:


    class Serial:

        def __init__(self, port, timeout):
            pass

        def write(self, value):
            pass

        def read(self, length):
            return []

<mask token>


class Energenie:
    value = False

    def __init__(self, channel):
        pass

    def on(self):
        self.value = True
        return True

    def off(self):
        self.value = False
        return False


class serial:


    class Serial:

        def __init__(self, port, timeout):
            pass

        def write(self, value):
            pass

        def read(self, length):
            return []

<mask token>


class Adafruit_DHT:
    <mask token>
    <mask token>


class Energenie:
    value = False

    def __init__(self, channel):
        pass

    def on(self):
        self.value = True
        return True

    def off(self):
        self.value = False
        return False


class serial:


    class Serial:

        def __init__(self, port, timeout):
            pass

        def write(self, value):
            pass

        def read(self, length):
            return []

<mask token>


class Adafruit_DHT:
    DHT11 = 11

    def read_retry(sensor, pin):
        return 50, 20


class Energenie:
    value = False

    def __init__(self, channel):
        pass

    def on(self):
        self.value = True
        return True

    def off(self):
        self.value = False
        return False


class serial:


    class Serial:

        def __init__(self, port, timeout):
            pass

        def write(self, value):
            pass

        def read(self, length):
            return []

"""
Fake classes to avoid RPi dependencies
"""
class Adafruit_DHT:
 DHT11 = 11
 def read_retry(sensor, pin):
   return(50, 20)

class Energenie:
  value = False
  def __init__(self, channel):
    pass
  def on(self):
    self.value = True
    return True
  def off(self):
    self.value = False
    return False

class serial:
  class Serial:
    def __init__(self, port, timeout):
      pass
    def write(self, value):
      pass
    def read(self, length):
      return []