Nerwyn / android-tv-card

Universal Customizable TV Remote Card, with HA actions, super configurable touchpad, slider, haptics, and keyboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use android debug bridge screen capture for background

domeassist opened this issue · comments

I am trying to set the android debug bridge screenshot displayed on the android debug bridge entity card as a background for the remote. Or even the touchpad.

I have tried various methods but cannot locate the file location android adb saves to and it doesn't display as an attribute of the android adb entity to reference.

Failing this being a feature, anyone got any ideas?

I've added template support in v3.1.0. This works for me!

type: custom:android-tv-card
rows:
 - - touchpad
touchpad_style:
  background: url({{ state_attr("media_player.lounge_google_tv_adb", "entity_picture") }}
  background-size: contain
  background-repeat: no-repeat
  background-position: center

So good!!! Works perfectly, thank you!