def getStatesForDeviceDateTime(self, filter="", valuesDict=None, typeId="", targetId=0): states = ui.getStatesForDevice (filter, valuesDict, typeId, targetId) option = ("lastChanged", "lastChanged (property)") states.append(option) return states
def getStatesForDevice(self, filter="", valuesDict=None, typeId="", targetId=0): return ui.getStatesForDevice (filter, valuesDict, typeId, targetId)