import os
''' implement methods in this file to control devices '''

def controller_main(dev_type, action):
    #implement main functionlainty here, 
    #dev_type = type of device, fan_1, fan_2, light, etc
    #action : on or off or any other action on valve
    print('Controller yet to be implemented')
    #TODO : Implement Rpy code here

    pass


def getTemperature():

    #TODO : Implement function to get temperature
    #now returns a random value
    return 30

def getValveValue():

    #TODO: Impelement function to get valve value
    #now returns a random value
    return 100