add view model to toggle sensors and state
add view model to toggle sensors and state