Adds YAMl files and screengrabs
This commit is contained in:
parent
e5fda69a40
commit
f57e606082
BIN
apple-tv-remote.psd
Normal file
BIN
apple-tv-remote.psd
Normal file
Binary file not shown.
BIN
apple-tv-remote_PLUS_MINUS.png
Normal file
BIN
apple-tv-remote_PLUS_MINUS.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 288 KiB |
BIN
apple-tv-remote_PLUS_MINUS_notRounded.png
Normal file
BIN
apple-tv-remote_PLUS_MINUS_notRounded.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 268 KiB |
BIN
apple-tv-remote_VOL.png
Normal file
BIN
apple-tv-remote_VOL.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 296 KiB |
BIN
apple-tv-remote_VOL_notRounded.png
Normal file
BIN
apple-tv-remote_VOL_notRounded.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 276 KiB |
15
apple_tv_power.yaml
Normal file
15
apple_tv_power.yaml
Normal file
@ -0,0 +1,15 @@
|
||||
alias: Apple TV Power
|
||||
sequence:
|
||||
- service: remote.send_command
|
||||
data:
|
||||
delay_secs: 1
|
||||
command:
|
||||
- home_hold
|
||||
- select
|
||||
target:
|
||||
entity_id: remote.living_apple_tv
|
||||
- service: media_player.toggle
|
||||
data: {}
|
||||
target:
|
||||
entity_id: media_player.living_apple_tv
|
||||
mode: single
|
||||
BIN
button_example.png
Normal file
BIN
button_example.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 510 KiB |
BIN
eithor_or.png
Normal file
BIN
eithor_or.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 345 KiB |
171
remote-card.yaml
Normal file
171
remote-card.yaml
Normal file
@ -0,0 +1,171 @@
|
||||
type: picture-elements
|
||||
image: /local/resources/apple-tv-remote_PLUS_MINUS.png
|
||||
|
||||
elements:
|
||||
# Exit =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: home
|
||||
style:
|
||||
top: 6%
|
||||
left: 14%
|
||||
transform: translate(-50%, -50%) scale(380%, 380%)
|
||||
opacity: 0
|
||||
# Power =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: script.apple_tv_power
|
||||
style:
|
||||
top: 6%
|
||||
left: 85%
|
||||
transform: translate(-50%, -50%) scale(380%, 380%)
|
||||
opacity: 0
|
||||
# Up =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: up
|
||||
style:
|
||||
top: 23.5%
|
||||
left: 50%
|
||||
transform: translate(-50%, -50%) scale(600%, 800%)
|
||||
opacity: 0
|
||||
# Down =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: down
|
||||
style:
|
||||
top: 62%
|
||||
left: 50%
|
||||
transform: translate(-50%, -50%) scale(600%, 800%)
|
||||
opacity: 0
|
||||
# Left =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: left
|
||||
style:
|
||||
top: 42.6%
|
||||
left: 21%
|
||||
transform: translate(-50%, -50%) scale(600%, 500%)
|
||||
opacity: 0
|
||||
# Right =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: right
|
||||
style:
|
||||
top: 42.6%
|
||||
left: 79%
|
||||
transform: translate(-50%, -50%) scale(600%, 500%)
|
||||
opacity: 0
|
||||
# Select =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: select
|
||||
style:
|
||||
top: 42.4%
|
||||
left: 50%
|
||||
transform: translate(-50%, -50%) scale(400%, 400%)
|
||||
opacity: 0
|
||||
# Home =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: top_menu
|
||||
hold_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: home_hold
|
||||
style:
|
||||
top: 80%
|
||||
left: 15.5%
|
||||
transform: translate(-50%, -50%) scale(380%, 380%)
|
||||
opacity: 0
|
||||
# Play/Pause ============================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: media_player.media_play_pause
|
||||
service_data:
|
||||
entity_id: media_player.living_apple_tv
|
||||
style:
|
||||
top: 91%
|
||||
left: 15.5%
|
||||
transform: translate(-50%, -50%) scale(380%, 380%)
|
||||
opacity: 0
|
||||
# Back =================================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: menu
|
||||
style:
|
||||
top: 85.5%
|
||||
left: 50%
|
||||
transform: translate(-50%, -50%) scale(750%, 750%)
|
||||
opacity: 0
|
||||
# Volume Up =============================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: volume_up
|
||||
style:
|
||||
top: 80%
|
||||
left: 84.5%
|
||||
transform: translate(-50%, -50%) scale(380%, 380%)
|
||||
opacity: 0
|
||||
# Volume Down ===========================
|
||||
- type: icon
|
||||
icon: none
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: remote.send_command
|
||||
service_data:
|
||||
entity_id: remote.living_apple_tv
|
||||
command: volume_down
|
||||
style:
|
||||
top: 91%
|
||||
left: 84.5%
|
||||
transform: translate(-50%, -50%) scale(380%, 380%)
|
||||
opacity: 0
|
||||
Loading…
x
Reference in New Issue
Block a user