Hi all,
As we’re planning to automate our house using Siemens Logos this discussion topic has been very helpful to me to understand how to control this from Home assistant. Thanks all!
What seemed sub-optimal to me is the solution with the light template. Having to tell HA the state of the light. So I was wondering if I could not make it work more like a normal switch, where the state of the switch simply represents the state of the light.
If you simply loop back the state of the light to the network input again through a network output, you get an infinite loop (took me a while to figure out why that happens). So I found a way of blocking a second switching instruction that comes too fast after the first (by blocking the next action for 1/50, which should not impair normal usage):
Whilst it works fine I am not very satisfied with the solution, as I realise I am merely replacing complexity in HA configuration with that of the Logo program. But I am posting it here to see what you all think. And perhaps you know a more elegant solution.
