MQTT Home Emulation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789
  1. import devices.tradfri
  2. class sw_br_ct(devices.tradfri.sw_br_ct):
  3. def set_state(self, value):
  4. self.__set__("state", "on" if value else "off")
  5. def power_on_action(self):
  6. pass