File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 4444 if(entry.dataSeries.name == "Temperature [°C]")
4545 content += "</br><div style='color:#4F81BC'>" + entry.dataSeries.name + ": " + entry.dataPoint.y + "°C</div>";
4646 else if(entry.dataSeries.name == "Humidity [%]")
47- content += "</br>< div style='color:#C0504E'>" + entry.dataSeries.name + ": " + entry.dataPoint.y + "%</div>";
47+ content += "<div style='color:#C0504E'>" + entry.dataSeries.name + ": " + entry.dataPoint.y + "%</div>";
4848 else
49- content += "</br>< div style='color:#9BBB58'>" + entry.dataSeries.name + ": " + entry.dataPoint.y + "°C</div>";
49+ content += "<div style='color:#9BBB58'>" + entry.dataSeries.name + ": " + entry.dataPoint.y + "°C</div>";
5050 }
5151
5252 return content;
Original file line number Diff line number Diff line change @@ -145,14 +145,6 @@ def pod_all_stats(self, podUid):
145145
146146 ac_state = pod_measurement ['result' ][0 ]['device' ]['acState' ]
147147 measurements = pod_measurement ['result' ][0 ]['device' ]['measurements' ]
148- powerConsumption = pod_measurement ['result' ][0 ]['device' ]['powerConsumption' ]
149- print ("powerConsumption == " , powerConsumption )
150- acType = pod_measurement ['result' ][0 ]['device' ]['acType' ]
151- print ("acType == " , acType )
152- lastRunEnergyConsumption = pod_measurement ['result' ][0 ]['device' ]['lastRunEnergyConsumption' ]
153- print ("lastRunEnergyConsumption == " , lastRunEnergyConsumption )
154- acUsage = pod_measurement ['result' ][0 ]['device' ]['acUsage' ]
155- print ("acUsage == " , acUsage )
156148 sstring = datetime .strptime (measurements ['time' ]['time' ], fromfmt )
157149 utc = sstring .replace (tzinfo = from_zone )
158150 localzone = utc .astimezone (to_zone )
You can’t perform that action at this time.
0 commit comments