Thanks for your responses. The goal is to get Pico remote buttons to toggle, any way possible.
i understand the error and have corrected it, but the corrections I have made end up with the same result. I have a large house with lots of Caseta 4 button Pico remotes and, using Caseta, they do not toggle. So, you can turn lights on but not turn them off. I want to be able to toggle Pico buttons.
The reason I used a scene is that other buttons will have more than one light and I was hoping for consistency. So, per advice given I have: 1. simplified the toggle program to use the light itself as opposed to the scene. 2. Created a separate program to turn the switch off. 3. Disabled both ON and Off toggle programs so that they will only run by being triggered. What happens now is the toggle works once...then it turns on and turns off. Below are the trigger and toggle programs. I tried running the Toggle Off program as both RunIf and RunThen. Same result both times.
Thanks again for the help. It is very much appreciated.
Trigger...
Trigger OE Keypad C - [ID 0014][Parent 0001]
If
'Owners Entry_Keypad - C' is switched Button Pressed
Then
Run Program 'Toggle Keydrop Light ON' (If)
Else
- No Actions - (To add one, press 'Action')
Toggle on...
Toggle Keydrop Light ON - [ID 0016][Parent 0001][Not Enabled]
If
'Owners Entry_Key Drop' Status is 0%
Then
Set 'Owners Entry_Key Drop' On
Else
Run Program 'Toggle Keydrop Light Off' (If)
Toggle Off
Toggle Keydrop Light Off - [ID 000B][Parent 0001][Not Enabled]
If
- No Conditions - (To add one, press 'Schedule' or 'Condition')
Then
Set 'Owners Entry_Key Drop' Off
Else
- No Actions - (To add one, press 'Action')