Hello everyone ! First of all, I’m French, so please excuse my English. I’m a big Homekit fan and I installed a motion detector in a hallway that serves the bedrooms. First I set up 2 automations: – The first one turns on the lights and puts them at 100% all the time (there is no window in the corridor) – The second one turns on the lights and puts them at 30% between 1 in the morning and 7 in the morning so that the eyes do not it burns us every time someone wakes up to go to the bathroom at night 🤣 It worked well, the only problem is that the first one always activates before the second, only for a second, intermittently and frying our retinas before the second one the second to activate and reduce the light to 30%, losing all the advantage of the process. So I said to myself, why not convert automation into a shortcut like this: WHEN the motion detector detects motion IF NOW it is between 1 in the morning and 7 in the morning OPEN turn on the lights by 30% IF NOT OPEN turn on the lights 100% END IF THE ONLY PROBLEM IS WHEN I TRY TO GET THE TIME, The Shortcut Does Not Let Me Get ONLY The Time Of Day, It Will Also Receive The Date Of The Day no ”, because the state is attached to that specific day. I tried to format the NOW value to exclude the date and only take the time, but when I do that, the “IF” condition loses the “IS BETWEEN” option. Does anyone have an idea to make it work? I hope I’ve clarified, it’s not so easy to make it easy to understand in English, I’m sorry. Anyway, thank you to everyone who took the time to read that post and thank you to anyone who could help. Peace!
The automation was converted to a shortcut to dim my lights over a period of time
Do you love writing reviews for smart home devices and other IoT? Publish it on HomeKit BLOG and become famous
accessories App Apple Application Aqara automation automations camera cameras Circle compatible Control devices Door Eufy Eve garage HKSV Home HomeKit HomePod hub Hue iOS light lights Lock Logitech Mini motion Question room secure sensor Siri Smart support Switch Switches turn Update Video View Wifi work