Olá Pedro, sometime ago I’ve posted a similar question, here’s Rich’s answer
BTW, the HA “gurus” in the portuguese domotics channel were not able to find such a simple solution, and like you have mentioned in the first post, suggested two rules (ON/OFF) for each device that can control others.