I need help please with the following automation logic. I am a programmer so in code logic this is what I need to resolve with an automation script :
if (a=1 and b=1 and c=1) or (x=1) then
switch on the light
in other words I need THREE conditions ALL to be true OR ONE other condition to be true.
For the life of me I cannot resolve it use the visual or the YAML editor