Reviewing the following: How to - Everspring EH403 FloodLight. Wondering if it is a better implementation to use Reactor instead of startup lua code. What would be the best way to accomplish updating the ‘tripped’ value on a virtual motion sensor using another devices ‘tripped’ value?
- Conditions: When the ‘tripped’ variable ‘changes’.
- Actions: When ‘true’ do what? ‘Run lua’ to copy the variable over?
Dont see any other intuitive way of doing this. Just figure since I use Reactor for pretty much everything else, this would make more sense than editing a startup lua script. Would there be any easier way to utilize a virtual device and copy variables from another device, whenever it changes?