Example #1
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.tracking_bus = Bus()
     super().__init__(*args, **kwargs)
Example #2
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.voltage_bus = Bus()
     self.consumption_bus = Bus()
     self.power_bus = Bus()
     super().__init__(*args, **kwargs)
Example #3
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.battery_size = 9
     self.motion_bus = Bus()
     self.illuminance_bus = Bus()
     super().__init__(*args, **kwargs)
Example #4
0
 def __init__(self, *args, **kwargs):
     """Init device."""
     self.thermostat_bus = Bus()
     self.ui_bus = Bus()
     self.power_bus = Bus()
     super().__init__(*args, **kwargs)
 def __init__(self, *args, **kwargs):
     """Init."""
     self.scenes_bus = Bus()
     super().__init__(*args, **kwargs)
Example #6
0
 def __init__(self, *args, **kwargs):
     self.motionBus = Bus()
     super().__init__(*args, **kwargs)
Example #7
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.battery_bus = Bus()
     if not hasattr(self, BATTERY_SIZE):
         self.battery_size = 10
     super().__init__(*args, **kwargs)
Example #8
0
 def __init__(self, *args, **kwargs):
     """Init device."""
     self.temperature_bus = Bus()
     self.humidity_bus = Bus()
     self.switch_bus = Bus()
     super().__init__(*args, **kwargs)
 def __init__(self, *args, **kwargs):
     """Init device."""
     self.switch_bus = Bus()
     super().__init__(*args, **kwargs)
Example #10
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.roller_bus = Bus()
     self.power_bus_percentage = Bus()
     super().__init__(*args, **kwargs)
Example #11
0
 def __init__(self, *args, **kwargs):
     """Init device."""
     self.window_detection_bus = Bus()
     super().__init__(*args, **kwargs)
Example #12
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.occupancy_bus = Bus()
     super().__init__(*args, **kwargs)
Example #13
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.motion_bus = Bus()
     super().__init__(*args, **kwargs)
Example #14
0
 def __init__(self, *args, **kwargs):
     """Init."""
     self.pm25_bus = Bus()
     self.change_fan_mode_bus = Bus()
     self.change_fan_mode_ha_bus = Bus()
     super().__init__(*args, **kwargs)
Example #15
0
 def __init__(self, *args, **kwargs):
     self.temperatureBus = Bus()
     self.batteryBus = Bus()
     if not hasattr(self, 'battery_size'):
         self.battery_size = 10
     super().__init__(*args, **kwargs)
Example #16
0
 def __init__(self, *args: Any, **kwargs: Any) -> None:
     """Init."""
     self.power_bus_percentage: Bus = Bus()  # type: ignore
     super().__init__(*args, **kwargs)  # type: ignore