Advertisement
Guest User

Home Assistant Remote Help

a guest
Jun 18th, 2025
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.90 KB | None | 0 0
  1. - type: sections
  2. max_columns: 4
  3. title: Test
  4. path: test
  5. sections:
  6. - type: grid
  7. cards:
  8. - type: custom:button-card
  9. entity: remote.65_tcl_roku_tv
  10. size: 50px
  11. color: auto
  12. color_type: card
  13. tap_action:
  14. action: toggle
  15. name: Bedroom TV
  16. - type: custom:universal-remote-card
  17. rows:
  18. - - - plex
  19. - - youtube
  20. - - PS5
  21. - - - back
  22. - - keyboard
  23. - - home
  24. - - circlepad
  25. - - - reverse
  26. - - play_pause
  27. - - forward
  28. - - - volumemute
  29. - - volume_down
  30. - - volume_up
  31. platform: Roku
  32. custom_actions:
  33. - type: button
  34. name: PS5
  35. icon: mdi:sony-playstation
  36. tap_action:
  37. action: source
  38. source: PlayStation 5
  39. - type: circlepad
  40. name: circlepad
  41. tap_action:
  42. action: key
  43. key: select
  44. platform: Roku
  45. up:
  46. icon: mdi:chevron-up
  47. tap_action:
  48. action: key
  49. key: up
  50. hold_action:
  51. action: repeat
  52. down:
  53. icon: mdi:chevron-down
  54. tap_action:
  55. action: key
  56. key: down
  57. hold_action:
  58. action: repeat
  59. styles: ''
  60. left:
  61. icon: mdi:chevron-left
  62. tap_action:
  63. action: key
  64. key: left
  65. hold_action:
  66. action: repeat
  67. right:
  68. icon: mdi:chevron-right
  69. tap_action:
  70. action: key
  71. key: right
  72. hold_action:
  73. action: repeat
  74. styles: |-
  75. :host {
  76. width: 500px;
  77. }
  78. .circlepad {
  79. border: 1px solid [#444](https://github.com/Nerwyn/universal-remote-card/issues/444);
  80. background: radial-gradient(circle at top left, [#202020](https://github.com/Nerwyn/universal-remote-card/issues/202020) 15%, [#303030](https://github.com/Nerwyn/universal-remote-card/issues/303030) 100%);
  81. --icon-color: rgba(128,128,128,0.5);
  82. }
  83.  
  84. #center::part(button) {
  85. background: radial-gradient(circle at top left, [#303030](https://github.com/Nerwyn/universal-remote-card/issues/303030) 15%, [#101010](https://github.com/Nerwyn/universal-remote-card/issues/101010) 100%);
  86. border: 1px solid rgba(0, 0, 0, 0.5);
  87. }
  88. #center::part(icon) {
  89. color: rgba(128,128,128, 0.8);
  90. --size: 50px;
  91. }
  92.  
  93. #left,
  94. #right {
  95. width: 100%;
  96. }
  97. icon: ok
  98. - type: button
  99. name: volumemute
  100. icon: mdi:volume-mute
  101. tap_action:
  102. action: key
  103. key: Volume_Mute
  104. remote_id: remote.65_tcl_roku_tv
  105. media_player_id: media_player.65_tcl_roku_tv
  106. - type: grid
  107. cards:
  108. - type: heading
  109. heading: New section
  110. - type: custom:lottie-card
  111. animation: /local/animation/lonely.json
  112. size: 65px
  113. loop: true
  114. utoplay: true
  115. direction: 1
  116.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement