Here's another one on my serie on how I automate my office and my house:
Last commit was about presence detection, now the first thing it drives: the lights.
Two automations for that: presence goes on, lights on. Presence off for 5 seconds, lights off. Here's the "on" one, simplified:…
commit e013a48