It will fetch a device status or a datasource value using the REST API (not Live yet).
It's still in initial state and there is a lot to do.
My plans for the near future is to make re-factor the script a bit and also add error handling. I'm not really using Switch King yet and only have a couple of temp/humidity sensors to try with yet.
I also want to point out that I'm not a developer by profession so there might be a lot of bugs

Please add any bugs or feature requests on github.
https://github.com/zyberpunker/check_switchking