Move sensor and version to attributes instead of hardcoding them.

Users may need to indicate they are using a sensor, or load a different version of the API.