Sony Android TV chaining state randomly when off

Hi Home Assistant Community,

I recently bought an Sony TV with Android TV (KD‑65XH9505). It works perfectly fine with HA when the TV is on.
When I put the TV in standby it constantly changes states (visible in the Logbook):

As a workaround I excluded the TV in the recorder-configuration. I am wondering if I configured the TV in HA not correctly or if it is a bug. This is my configuration:

  - platform: androidtv
    name: Wohnzimmer - Sony TV
    device_class: androidtv
    get_sources: false
    screencap: false
    scan_interval: 1

HA information:

System Health
version: core-2021.5.3
installation_type: Home Assistant Container
dev: false
hassio: false
docker: true
virtualenv: false
python_version: 3.8.9
os_name: Linux
os_version: 5.10.17-v7l+
arch: armv7l
timezone: Europe/Berlin

logged_in: false
can_reach_cert_server: ok
can_reach_cloud_auth: ok
can_reach_cloud: ok

dashboards: 1
resources: 0
views: 1
mode: storage

Thank you in advance for you help.

Any Ideas?

Hello. Have you found a solution?

Hi, yes I did! Totally forgot posting it about it.

Even though my Sony TV runs AndroidTV, using the Sony Bravia Integration resolved the issue: