changes for pimatic 0.8.0 develpopment version

I've update the plugin to reflect the changes made to pimatic in the development branch. I would suggest you to create a development branch in your repo and merge the change in there.