Functional version with temperature.
Functional version with electric consumption
Functional version with relay command