import rt2000BT import config valve = rt2000BT.Valve(config.mac, None) print("-------------------------------------------------") valve.update_temperature(25)
def __init__(self): self.valve = rt2000BT.Valve(config.mac, None)