Phone screen time -> Error in airplane mode

Good morning,

I set up screen time tracking on my phone (Android + HA Application), using the “interactive” sensor of the mobile application.

The sensor takes ON or OFF state depending on the screen usage.

It works correctly, however if the smartphone goes into airplane mode, the application cannot send the “OFF” state and keeps the last state.

So for HA the state remains “ON” all night… :confused:

80c913a85682063ee2ba2ce7a10b99a4b60104b4

Do you have a solution/tip?
thanks in advance

You could add a boolean to the template that you can “disable” the interactive sensor before you enable airplane mode