forked from home-assistant/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Register 'firetv.adb_command' service (home-assistant#21419)
* Register 'media_player.firetv_adb_cmd' service * Wrap the 'firetv_adb_cmd' service with 'adb_decorator' * Address reviewer comments * Move firetv to its own platform * Move 'adb_command' service description * Rename DOMAIN to FIRETV_DOMAIN * Import KEYS in __init__ method * Change 'self.KEYS' to 'self.keys' * Update firetv in .coveragerc * 'homeassistant.components.media_player.firetv' -> 'homeassistant.components.firetv' * 'homeassistant.components.firetv' -> 'homeassistant.components.firetv.media_player'
- Loading branch information
1 parent
6f2def0
commit 27a780d
Showing
5 changed files
with
75 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
""" | ||
Support for functionality to interact with FireTV devices. | ||
For more details about this platform, please refer to the documentation at | ||
https://home-assistant.io/components/media_player.firetv/ | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Describes the format for available Fire TV services | ||
|
||
adb_command: | ||
description: Send an ADB command to a Fire TV device. | ||
fields: | ||
entity_id: | ||
description: Name(s) of Fire TV entities. | ||
example: 'media_player.fire_tv_living_room' | ||
command: | ||
description: Either a key command or an ADB shell command. | ||
example: 'HOME' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters