示例#1
0
    def update_humidity_24hour(self):

        value = database.get_average_value("humidity", 24)
        self.update_text(self.humidity_24hour_avg, value)
示例#2
0
    def update_co2_24hour(self):

        value = database.get_average_value("co2", 24)
        self.update_text(self.co2_24hour_avg, value)
示例#3
0
    def update_temperature_24hour(self):

        value = database.get_average_value("temperature", 24)
        self.update_text(self.temperature_24hour_avg, value)