Use android debug bridge screen capture for background
domeassist opened this issue · comments
domeassist commented
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?
Nerwyn commented
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
domeassist commented
So good!!! Works perfectly, thank you!