Jeff Irion
Jeff Irion
I removed some posts that weren't directly related to state detection. I'm leaving it up to you and the community as a whole to collect data (as you've done) and...
> state off is now working well > when device is turned off it does shows off for few seconds and after after that it shows unavailable. > Is it...
> I've also found (with the Jellyfin app), that there are two wake locks when playing, and one when paused. Perhaps the default of "1 wake lock == paused" should...
> Hi, > > Unfortunately, some changes in the state logic made it "playing" all the time instead of "pause" for my case (Philips TV). It was some version when...
This issue needs to be done first: https://github.com/JeffLIrion/python-androidtv/issues/255 After that's done, it shouldn't be too hard to customize the command used the get the HDMI input and the code that...
https://github.com/JeffLIrion/python-androidtv/blob/f63687a96fc222eedb5f2fd852fc729f92d33a47/androidtv/setup_async.py#L23 As long as HA continues to call `setup` with `log_errors=True`, this package will continue to log failed setup attempts. This should be fixed in HA.
Until someone submits a fix, I suggest setting the log level to critical for the Android TV integration.
It's probably possible to create a shell command that processes (i.e., `grep`s) the output of that command and only sends the "home" button action if that's what the setting specifies....
The first step here would be to add a method called `get_input_id`, or something like that. If it works on both Android TV and Fire TV devices, it could go...
This is why we need customizable commands: https://github.com/home-assistant/core/pull/65397.