I recently switched all my home motion sensors with presence sensors and I ran into a problem. please share if you have a way around.
my dining room lights have 1 on triggers, when presence sensor is active but only when mode is evening. If I am in the dining room when the mode goes from day to evening because presence state stays active, it doesn’t trigger the light to turn on. I can’t add the mode change as trigger because it may turn in the light even when no one is in the room.
How about an additional rule that uses the recently-released "Conditional Trigger" capability... Use Mode becomes Evening as the trigger and set the trigger condition as Motion = Active. The rule action would then be to turn on the light.
You can use Room Lighting to solve this problem. What you need to do is set up Lighting Periods per Mode and remove the activation limit of evening mode only. In the Lighting Period for Day Mode, uncheck the ACT box but leave the OFF box checked. Your Lighting Period for Evening Mode should have both the ACT and OFF boxes checked. Then you need to go into the Other Activation Settings and select: (1) Adjust lights on Mode Changes and (2) Activate even if already partially Activated.
Basically, you want Room Lighting to always be activating and turning off with presence in the room. However, by removing the ACT box for day mode, Room Lighting will Activate but it will not turn on the light. If you leave the OFF box checked, it would turn off the light in Day mode should you have manually turned it on and left the room without turning it off. The "Adjust lights on Mode Changes" and "Activate even if already Activated" would capture the scenario you are trying to solve. Because the sensor would be present, it would activate the light for evening mode based on the lighting period as the mode changes from Day to Evening.