* fix brigtness sensor having percent as unit.
* add test for percent-brightness-sensor
* remove valve position and update tests
* Removed test, because covered by Snapshots
* fix review comments
* move device calss to init.
* fix test
* fix review comments
* add battery sensor back to test fixture
* fix