Hey, for my smarthome I only used my self build system controlled by an raspi with my own shell/perl scripts with dependencies and conditions (like enabling whole ambient lightning at sunset only when my iphone is at home). With HomeBridge I moved everything to Apples native HomeKit which works very smooth - even with sharing the permissions to other people. To get rid of my old shell/perl scripts (scanning for BT MAC ID, checking sunsets, ...) I want to use the native automations - my old ATV3 doesn't support this, but before buying a newer one I want to check, if conditions are possible to use. So is it possible to do: #1: Enable all lightning, only when [my iphone OR my wifes one is at home] AND sunset? #2: Disable all lights every weekday at 10pm If possible, how many if conditions are possible? Thanks!