Bruce (@bravenel) I've found bug in RM code
Unexpected Error
An unexpected error has occurred trying to load the app. Check Logs for more information.
Error: String index out of range: -1
Steps to reproduce:
- Create Rule and name it
- Go to Select Actions for True or False
- Select Control Switches
- Select Turn on or off after a delay per mode, pending cancellation
- Pick any switch from the list
- Choose Delay by mode for one mode ONLY(if more than one mode is selected error is not produced)
- Get error
It looks like the array initialization is incorrect in this particular case. If two modes are selected, but later one mode is unselected the error is not produced either)