Get vars with config + generic _float remove

This commit is contained in:
l_samenv
2024-08-19 11:02:32 +02:00
parent 8959e4a520
commit 9d032be0d2
4 changed files with 170 additions and 4 deletions

View File

@ -138,7 +138,7 @@ class InfluxGraph:
start_time = int(self.get_abs_time(time)[0])
end_time = int(self.get_abs_time(time)[-1])
blocks = self.influx_data_getter.get_available_variables_at_time([start_time, end_time], all)
blocks = self.influx_data_getter.get_available_variables_at_time2([start_time, end_time], all)
# updates the self.variables attribute to keep track of the available variables
self.variables = [variable["name"] for block in blocks for variable in block["curves"]]