Add a way to read state from the opening Hours plugin