Using remote control to turn TV OFF
This is a problem that occurs when the TV is turned OFF by the **remote control**.
Below is a image with timestamps of what happens from turning the TV ON to turning the TV OFF.

<img width="308" alt="stateChanges" src="https://user-images.githubusercontent.com/60426609/212929903-5d90873d-8693-4e09-a697-053780471847.png">

When the assumed state is wrong, the TV is still OFF but when using it in automations this can be a problem with faulty reports.
So here is a step-by-step of what happens when the TV is being turned OFF:
* You can no longer access it by PORT 8081.
* After x seconds it can again be accessible by PORT 8081 even when the TV is still OFF.
* After y seconds it can again no longer be accessible by PORT 8081.
* Nothing else happens before turning the TV ON again.

There's probably several way(s) of solving this issue but to give one suggestion.

Suggested solution:
Since of what I have seen it's only possible to know the status of the TV by checking if the PORT of the TV is accessible or not. What could possibly be done here is instead have some kind of cool-down (by checking the timestamps, one minute should be enough until the PORT have been accessible and not accessible again) from when the first report of the TV being turned OFF. During this time it should not report anything. This could be a setting that you can set yourself, and of course default if not stated.



