Good day everyone,
I have a particular issue with the Lutron Integration with Rule Machine rules.
Currently I have to create a virtual switch in devices.
Then I have to create a rule in Rule Machine that keeps the state of a LED button in my Lutron Keypads on that previously created virtual switch when the Cabinet light is turned on and another when it turns off. That can be improve with a else statement kind of approach but that's another topic.
Then I have to create a Basic Rule that detects when my garage door to hallway (Garage door to house) opens to turn on the Cabinet lights only if the Cabinet lights are off, otherwise every time the Garage door to house is open the Cabinet lights will turn on once and turn off the other and so forth.
So what I am proposing is this but I am not sure if it is possible:
Create an option in Add optional restrictions that limit when this rule runs in a Basic Rule to check for a Lutron device LED value, so if the value is already on, do not run.
Right now restriction just supports the following:
- Only between two times
- Only on certain days of the week
- Only when mode is
- Only when illuminance is
- Only when not disables by a switch (This is the one I am currently using but this could be simplified)
Or add a new capability for new condition under Rule Machine that allows to read Lutron Integration Button LED value.
My current solution works but it can get out of wack if there is a power outage or so and then things started acting up weird
Please advise