-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
755b219
commit c801c62
Showing
3 changed files
with
93 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
## Overriding key actions | ||
|
||
Example config: | ||
```yaml | ||
type: custom:lg-remote-control | ||
av_receiver_family: anthemav | ||
entity: media_player.lg_webos_smart_tv | ||
is_smart_tv: 'true' | ||
colors: | ||
buttons: red | ||
text: blue | ||
background: blue | ||
projectorentity: '' | ||
mac: '00:11:22:33:44:66' | ||
keys: | ||
LEFT: | ||
service: light.toggle | ||
data: | ||
entity_id: light.tv | ||
VOLUME_UP: | ||
service: light.toggle | ||
data: | ||
entity_id: light.tv | ||
``` | ||
available keys: | ||
- `"1"` | ||
- `"2"` | ||
- `"3"` | ||
- `"4"` | ||
- `"5"` | ||
- `"6"` | ||
- `"7"` | ||
- `"8"` | ||
- `"9"` | ||
- `"0"` | ||
- `"UP"` | ||
- `"LEFT"` | ||
- `"ENTER"` | ||
- `"RIGHT"` | ||
- `"BACK"` | ||
- `"DOWN"` | ||
- `"EXIT"` | ||
- `"RED"` | ||
- `"GREEN"` | ||
- `"YELLOW"` | ||
- `"BLUE"` | ||
- `"HOME"` | ||
- `"CHANNELUP"` | ||
- `"MUTE"` | ||
- `"INFO"` | ||
- `"CHANNELDOWN"` | ||
- `"PLAY"` | ||
- `"PAUSE"` | ||
- `"STOP"` | ||
- `"REWIND"` | ||
- `"RECORD"` | ||
- `"FAST_FOWARD"` | ||
- `"POWER"` | ||
- `"VOLUME_UP"` | ||
- `"VOLUME_DOWN"` |
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
export const CARD_VERSION = "v@LG_REMOTE_CONTROL_CARD_VERSION_PLACEHOLDER@"; | ||
|
||
export const CARD_TAG_NAME = "lg-remote-control"; | ||
export const EDITOR_CARD_TAG_NAME = "lg-remote-control-editor"; |
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