Relocate code of puavo-device
Update route
Fix variable name
Update route