Hi,
I have trouble to solve this problem.
I would like to control a wall plug on/off of a calculated on time for my laptop, i.e when the laptop has been on for 3 hours switch on the wall plug and charge the laptop for 1 hour then turn off the wall plug and stop charging the laptop. Restart the time calculation for the laptop on time and so…
In that way I don’t need to bother about the laptop charger be on all the time.
I have to laptop in the same place all the time.
Is this automation best to do in Home Assistant or Node red ?
//Fredrik