getDevice function
Merge branch 'master' of https://github.com/gietos/yii2-sosumi