made the valve stay open or closed. need to add valve status to poll data