Help creating automation to add wattage consumption

Hello,

i have a question to ask if its possible. in one of my rooms i have thermometer and a fencoil without power consumption option but i know how much it consumes when on. So i have a dashboard where i measure all the devices wattage in real time.
so i was wondering is it there a possible option to create an automation, if the temp drops below certain degree (under 21), the automation to start (add) additional 50w consume to my already power consumption card? and then when temp reaches 21 or so, the added power consumption to be deducted from total consumption (i tried to add a sensor with fixed wattage) but i dont know how to activate to be added in total.

i use powercal for the sensor to sum them and a regular card to display ythem

You can use a threshold helper (or a template helper) to create a binary sensor that is on for the conditions when the power should be calculated. Then you can use powercalc to create the power sensors for the 50 W to add to the energy dashboard.

I do not know wht you mean by: deduct from the total. Usually you don’t. You just list the individual sensors and Home Assistant understands those are part of the total consumption of your home.

If you mean you have an upstream power device in the individual sensors of the Energy dashboard, then you can select that device as the upstream device.

1 Like

hmm i dont quite understand :slight_smile: maybe i did a mistake explaining :slight_smile:
so i have an tuya smart thermometer in my kids room, and a fencoil without wifi or smart function. I read that the fencoil consumes around 50W during work.

So since i have 4 of them, i was wondering if i can create an automation or something which will be triggered from the temp sensor, when reach below 21, and then to have an sensor which will add 50watt to the power consumption. Then when the temp reaches 22 or above, the automation will be off, and the 50W will not show in the power consumption.

ok, i figure it out :slight_smile: Thank you very much.