Turn on outside light with alarm system

So you did use a pull-up resistor (the pi’s internal one), that’s good.

I have no idea why it is behaving this way. Possibly related to this old but ongoing issue:

thanks for the info. I read in an other post that HA is loosing the sensor state if it is restarted and that you have to use a boolean something something to fix it. But this waaaaay over my head to understand. In the meantime i will just use it as it is and not restart HA. Many thanks for helping me. I don’t know where in the world you are, but if you ever visit Cape Town South Africa i will invite you for a beer :grinning:

1 Like