Window sensor reads correct but history incorrect

I have an Insteon sensors that shows the correct state but when I click on the device to show information. The history it shows is complete opposite. Is this a UI problem, history problem, or another problem associate with home assistance insteon’s integration???