the switch node in that example I had set guidlines. in the switch node you may need to enter your parameters, how ever your are needing something with dates and times as well.
also check this out for heating.
communication with a tasmota device is done with mqtt. Also if the status of the electricity is on a web page looking into html nodes and see if you can just have it queried in and convert data into the information you need.
If you have a flow started and are stuck,
share the flow with us so we can try to help you out.
make sure you follow these guidelines when sharing a flow.