home_emulation/devices/livarno.py

10 rindas
200 B
Python

import devices.tradfri
class sw_br_ct(devices.tradfri.sw_br_ct):
def set_state(self, value):
self.__set__("state", "on" if value else "off")
def power_on_action(self):
pass