VikingOy

Harmony Remote YAML

Apr 29th, 2021 (edited)
1,386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.53 KB | None | 0 0
  1. type: picture-elements
  2. image: /local/Harmony_07.png
  3. elements:
  4. - icon: mdi
  5. style:
  6. left: 38%
  7. top: 14%
  8. tap_action:
  9. action: call-service
  10. service: remote.turn_off
  11. service_data:
  12. entity_id: remote.harmony
  13. type: icon
  14. - icon: mdi
  15. style:
  16. left: 37%
  17. top: 19%
  18. tap_action:
  19. action: call-service
  20. service: remote.turn_on
  21. service_data:
  22. activity: 41122377
  23. entity_id: remote.harmony
  24. type: icon
  25. - icon: mdi
  26. style:
  27. left: 48%
  28. top: 19%
  29. tap_action:
  30. action: call-service
  31. service: remote.turn_on
  32. service_data:
  33. activity: 15409515
  34. entity_id: remote.harmony
  35. type: icon
  36. - icon: mdi
  37. style:
  38. left: 59%
  39. top: 19%
  40. tap_action:
  41. action: call-service
  42. service: remote.turn_on
  43. service_data:
  44. activity: 15409513
  45. entity_id: remote.harmony
  46. type: icon
  47. - icon: mdi
  48. style:
  49. left: 38%
  50. top: 25%
  51. tap_action:
  52. action: call-service
  53. service: script.media_rewind
  54. type: icon
  55. - icon: mdi
  56. style:
  57. left: 48%
  58. top: 25%
  59. tap_action:
  60. action: call-service
  61. service: script.media_play
  62. type: icon
  63. - icon: mdi
  64. style:
  65. left: 58%
  66. top: 25%
  67. tap_action:
  68. action: call-service
  69. service: script.media_forward
  70. type: icon
  71. - icon: mdi
  72. style:
  73. left: 48%
  74. top: 29%
  75. tap_action:
  76. action: call-service
  77. service: script.media_pause
  78. type: icon
  79. - icon: mdi
  80. style:
  81. left: 59%
  82. top: 29%
  83. tap_action:
  84. action: call-service
  85. service: script.media_stop
  86. type: icon
  87. - icon: mdi
  88. style:
  89. left: 35%
  90. top: 49%
  91. tap_action:
  92. action: call-service
  93. service: remote.send_command
  94. service_data:
  95. command: VolumeUp
  96. device: Logitech Amp
  97. entity_id: remote.harmony
  98. type: icon
  99. - icon: mdi
  100. style:
  101. left: 35%
  102. top: 57%
  103. tap_action:
  104. action: call-service
  105. service: remote.send_command
  106. service_data:
  107. command: VolumeDown
  108. device: Logitech Amp
  109. entity_id: remote.harmony
  110. type: icon
  111. - icon: mdi
  112. style:
  113. left: 41%
  114. top: 54%
  115. tap_action:
  116. action: call-service
  117. service: remote.send_command
  118. service_data:
  119. command: DirectionLeft
  120. device: Get GB2
  121. entity_id: remote.harmony
  122. type: icon
  123. - icon: mdi
  124. style:
  125. left: 63%
  126. top: 49%
  127. tap_action:
  128. action: call-service
  129. service: remote.send_command
  130. service_data:
  131. command: ChannelUp
  132. device: Get GB2
  133. entity_id: remote.harmony
  134. type: icon
  135. - icon: mdi
  136. style:
  137. left: 62%
  138. top: 57%
  139. tap_action:
  140. action: call-service
  141. service: remote.send_command
  142. service_data:
  143. command: ChannelDown
  144. device: Get GB2
  145. entity_id: remote.harmony
  146. type: icon
  147. - icon: mdi
  148. style:
  149. left: 39%
  150. top: 62%
  151. tap_action:
  152. action: call-service
  153. service: remote.send_command
  154. service_data:
  155. command: Mute
  156. device: Logitech Amp
  157. entity_id: remote.harmony
  158. type: icon
  159. - icon: mdi
  160. style:
  161. left: 59%
  162. top: 62%
  163. tap_action:
  164. action: call-service
  165. service: remote.send_command
  166. service_data:
  167. command: User Menu
  168. device: Get GB2
  169. entity_id: remote.harmony
  170. type: icon
  171. - icon: mdi
  172. style:
  173. left: 37%
  174. top: 67%
  175. tap_action:
  176. action: call-service
  177. service: remote.send_command
  178. service_data:
  179. command: 1
  180. device: Get GB2
  181. entity_id: remote.harmony
  182. type: icon
  183. - icon: mdi
  184. style:
  185. left: 48%
  186. top: 67%
  187. tap_action:
  188. action: call-service
  189. service: remote.send_command
  190. service_data:
  191. command: 2
  192. device: Get GB2
  193. entity_id: remote.harmony
  194. type: icon
  195. - icon: mdi
  196. style:
  197. left: 60%
  198. top: 67%
  199. tap_action:
  200. action: call-service
  201. service: harmony.change_channel
  202. service_data:
  203. entity_id: remote.harmony
  204. channel: 3
  205. type: icon
  206. - icon: mdi
  207. style:
  208. left: 49%
  209. top: 54%
  210. tap_action:
  211. action: call-service
  212. service: notify.pushbullet
  213. service_data:
  214. message: OK key depressed
  215. target: device/Galaxy S7Edge
  216. type: icon
  217.  
Add Comment
Please, Sign In to add comment