I would like to display two series as for the graph below I would like to see the number hours the boiler has been on and the max temperature. The query below works in MySQL and returns both the heatstage and the outside temperature. Is it possible to show the two series, right now it will only show the heatstage.
Thanks
SELECT
UNIX_TIMESTAMP(DateCreated) as time_sec,
(sum(heatstagesec)*0.000277778), Max(OutdoorTemperature) as value,
‘Temperature’ as metric
FROM ecobee
WHERE $__timeFilter(DateCreated)
group by day(DateCreated)