Implement functions to allow device to be polled for state