Simplified sensor configuration API

The old style works as well, but now we can configure a sensor with just a single method call.

<!---
@huboard:{"order":4.0,"custom_state":""}
-->