mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Added a screenshot to LG Netcast TVs (#2694)
This commit is contained in:
parent
6f23869a89
commit
51d5268f9f
@ -163,6 +163,11 @@ class LgTVDevice(MediaPlayerDevice):
|
||||
"""Flag of media commands that are supported."""
|
||||
return SUPPORT_LGTV
|
||||
|
||||
@property
|
||||
def media_image_url(self):
|
||||
"""URL for obtaining a screen capture."""
|
||||
return self._client.url + 'data?target=screen_image'
|
||||
|
||||
def turn_off(self):
|
||||
"""Turn off media player."""
|
||||
self.send_command(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user