The automation was converted to a shortcut to dim my lights over a period of time

Cupertino, July 5, 2021

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!

Best selling & Top trending HomeKit product in our shop at this moment

HomeKit.Blog is in no way affiliated with or endorsed by Apple Inc. or Apple related subsidiaries.

All images, videos and logos are the copyright of the respective rights holders, and this website does not claim ownership or copyright of the aforementioned.

All information about products mentioned on this site has been collected in good faith. However, the information relating to them, may not be 100% accurate, as we only rely on the information we are able to gather from the companies themselves or the resellers who stock these products, and therefore cannot be held responsible for any inaccuracies arising from the aforementioned sources, or any subsequent changes that are made that we have not been made aware of.

HomeKit.Blog Is A Participant In The Amazon Services LLC Associates Program, An Affiliate Advertising Program Designed To Provide A Means For Sites To Earn Advertising Fees By Advertising And Linking To Amazon Store (Amazon.com, Or Endless.com, MYHABIT.com, SmallParts.com, Or AmazonWireless.com).

The opinions expressed on this website by our contributors do not necessarily represent the views of the website owners. 

Copyright © 2022 HomeKit Blog
. All rights reserved
United States