bchwtz / bchwtz-gateway

2 stars 2 forks source link

Clear function #45

Closed Jippiyay closed 2 years ago

Jippiyay commented 2 years ago

establish method for clearing sensor_data and data variables and also creating history of data

Marius9610 commented 2 years ago

Clear function will be established as new feature.

def clear(self):
        self.sensor_data = list()
        self.data = list()
        Log_sensor.info('sensor variables have been cleared!')