Hi all,
I’m using pantherale0/ha-nintendoparentalcontrols to operate parental controls on two Nintendo Switches and as we only have basically a single kid that uses both, I’d like to have the allowed play time aggregated over both devices. I created a helper of type Timer (“total_allowed_switch_time”) to set the allowed time. Next, I would like to read the sensor.switch1_play_time when it changes and set the control switch2_time_limit (which is in minutes) to be the values of total_allowed_switch_time minus switch1_play_time. And vice versa for the other switch. I know how to set it, but I’m grasping on how to do the calculation to get to a correct value that I can use? I’m a bit of a noob and using the visual editor, but if anyone can give me guidance for the yaml part, I’m sure I can figure that out as well.
Thanks in advance!