Advertisement
Guest User

Untitled

a guest
Dec 28th, 2018
22,454
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 34.34 KB | None | 0 0
  1.     # TV
  2.   - icon: mdi:television
  3.     # Title of the view. Will be used as the tooltip for tab icon
  4.     title: TV
  5.     path: tv
  6.     cards:
  7.        # Entities card will take a list of entities and show their state.
  8.       - type: vertical-stack
  9.         cards:
  10.           - type: horizontal-stack
  11.             cards:
  12.               - type: custom:button-card
  13.                 color_type: card
  14.                 entity: switch.watch_tv
  15.                 action: toggle
  16.                 name: TV
  17.                 icon: mdi:television
  18.                 color: rgb(255, 131, 0)
  19.               - type: custom:button-card
  20.                 color_type: card
  21.                 entity: switch.watch_netflix
  22.                 action: toggle
  23.                 name: Netflix
  24.                 icon: mdi:netflix
  25.                 color: rgb(255, 131, 0)
  26.               - type: custom:button-card
  27.                 color_type: card
  28.                 entity: switch.watch_movie
  29.                 action: toggle
  30.                 name: Film
  31.                 icon: mdi:movie
  32.                 color: rgb(255, 131, 0)
  33.  
  34. # TV remote
  35.       - type: vertical-stack
  36.         cards:
  37.           - type: horizontal-stack
  38.             cards:
  39.               - type: conditional
  40.                 conditions:
  41.                   - entity: switch.watch_tv
  42.                     state: 'on'
  43.                 card:
  44.                   type: custom:button-card
  45.                   color_type: card
  46.                   action: service
  47.                   service:
  48.                     domain: remote
  49.                     action: send_command
  50.                     data:
  51.                       entity_id: remote.harmony
  52.                       device: 55198017
  53.                       command: 'Mute'
  54.                   icon: mdi:volume-off
  55.                   color: rgb(75, 75, 77)            
  56.               - type: conditional
  57.                 conditions:
  58.                   - entity: switch.watch_tv
  59.                     state: 'on'
  60.                 card:
  61.                   type: custom:button-card
  62.                   color_type: card
  63.                   action: service
  64.                   service:
  65.                     domain: remote
  66.                     action: send_command
  67.                     data:
  68.                       entity_id: remote.harmony
  69.                       device: 55198017
  70.                       command: 'Play'
  71.                   icon: mdi:play
  72.                   color: rgb(75, 75, 77)
  73.               - type: conditional
  74.                 conditions:
  75.                   - entity: switch.watch_tv
  76.                     state: 'on'
  77.                 card:
  78.                   type: custom:button-card
  79.                   color_type: card
  80.                   action: service
  81.                   service:
  82.                     domain: remote
  83.                     action: send_command
  84.                     data:
  85.                       entity_id: remote.harmony
  86.                       device: 55198017
  87.                       command: 'Pause'
  88.                   icon: mdi:pause
  89.                   color: rgb(75, 75, 77)
  90.               - type: conditional
  91.                 conditions:
  92.                   - entity: switch.watch_tv
  93.                     state: 'on'
  94.                 card:
  95.                   type: custom:button-card
  96.                   color_type: card
  97.                   action: service
  98.                   service:
  99.                     domain: remote
  100.                     action: send_command
  101.                     data:
  102.                       entity_id: remote.harmony
  103.                       device: 55198017
  104.                       command: 'Rewind'
  105.                   icon: mdi:rewind
  106.                   color: rgb(75, 75, 77)
  107.               - type: conditional
  108.                 conditions:
  109.                   - entity: switch.watch_tv
  110.                     state: 'on'
  111.                 card:
  112.                   type: custom:button-card
  113.                   color_type: card
  114.                   action: service
  115.                   service:
  116.                     domain: remote
  117.                     action: send_command
  118.                     data:
  119.                       entity_id: remote.harmony
  120.                       device: 55198017
  121.                       command: 'FastForward'
  122.                   icon: mdi:fast-forward
  123.                   color: rgb(75, 75, 77)
  124.           - type: horizontal-stack
  125.             cards:
  126.               - type: conditional
  127.                 conditions:
  128.                   - entity: switch.watch_tv
  129.                     state: 'on'
  130.                 card:
  131.                   type: custom:button-card
  132.                   color_type: card
  133.                   action: service
  134.                   service:
  135.                     domain: remote
  136.                     action: send_command
  137.                     data:
  138.                       entity_id: remote.harmony
  139.                       device: 55198007
  140.                       command: 'VolumeDown'
  141.                   icon: mdi:volume-minus
  142.                   color: rgb(75, 75, 77)
  143.               - type: conditional
  144.                 conditions:
  145.                   - entity: switch.watch_tv
  146.                     state: 'on'
  147.                 card:
  148.                   type: custom:button-card
  149.                   color_type: card
  150.                   action: service
  151.                   service:
  152.                     domain: remote
  153.                     action: send_command
  154.                     data:
  155.                       entity_id: remote.harmony
  156.                       device: 55198017
  157.                       command: 'DirectionUp'
  158.                   icon: mdi:arrow-up-thick
  159.                   color: rgb(255, 131, 0)
  160.               - type: conditional
  161.                 conditions:
  162.                   - entity: switch.watch_tv
  163.                     state: 'on'
  164.                 card:
  165.                   type: custom:button-card
  166.                   color_type: card
  167.                   action: service
  168.                   service:
  169.                     domain: remote
  170.                     action: send_command
  171.                     data:
  172.                       entity_id: remote.harmony
  173.                       device: 55198007
  174.                       command: 'VolumeUp'
  175.                   icon: mdi:volume-plus
  176.                   color: rgb(75, 75, 77)
  177.           - type: horizontal-stack
  178.             cards:
  179.               - type: conditional
  180.                 conditions:
  181.                   - entity: switch.watch_tv
  182.                     state: 'on'
  183.                 card:
  184.                   type: custom:button-card
  185.                   color_type: card
  186.                   action: service
  187.                   service:
  188.                     domain: remote
  189.                     action: send_command
  190.                     data:
  191.                       entity_id: remote.harmony
  192.                       device: 55198017
  193.                       command: 'DirectionLeft'
  194.                   icon: mdi:arrow-left-thick
  195.                   color: rgb(255, 131, 0)
  196.               - type: conditional
  197.                 conditions:
  198.                   - entity: switch.watch_tv
  199.                     state: 'on'
  200.                 card:
  201.                   type: custom:button-card
  202.                   color_type: card
  203.                   action: service
  204.                   service:
  205.                     domain: remote
  206.                     action: send_command
  207.                     data:
  208.                       entity_id: remote.harmony
  209.                       device: 55198017
  210.                       command: 'Select'
  211.                   icon: mdi:thumb-up-outline
  212.                   color: rgb(255, 131, 0)
  213.               - type: conditional
  214.                 conditions:
  215.                   - entity: switch.watch_tv
  216.                     state: 'on'
  217.                 card:
  218.                   type: custom:button-card
  219.                   color_type: card
  220.                   action: service
  221.                   service:
  222.                     domain: remote
  223.                     action: send_command
  224.                     data:
  225.                       entity_id: remote.harmony
  226.                       device: 55198017
  227.                       command: 'DirectionRight'
  228.                   icon: mdi:arrow-right-thick
  229.                   color: rgb(255, 131, 0)
  230.           - type: horizontal-stack
  231.             cards:
  232.               - type: conditional
  233.                 conditions:
  234.                   - entity: switch.watch_tv
  235.                     state: 'on'
  236.                 card:
  237.                   type: custom:button-card
  238.                   color_type: card
  239.                   action: service
  240.                   service:
  241.                     domain: remote
  242.                     action: send_command
  243.                     data:
  244.                       entity_id: remote.harmony
  245.                       device: 55198017
  246.                       command: 'Guide'
  247.                   icon: mdi:television-guide
  248.                   color: rgb(75, 75, 77)
  249.               - type: conditional
  250.                 conditions:
  251.                   - entity: switch.watch_tv
  252.                     state: 'on'
  253.                 card:
  254.                   type: custom:button-card
  255.                   color_type: card
  256.                   action: service
  257.                   service:
  258.                     domain: remote
  259.                     action: send_command
  260.                     data:
  261.                       entity_id: remote.harmony
  262.                       device: 55198017
  263.                       command: 'DirectionDown'
  264.                   icon: mdi:arrow-down-thick
  265.                   color: rgb(255, 131, 0)
  266.               - type: conditional
  267.                 conditions:
  268.                   - entity: switch.watch_tv
  269.                     state: 'on'
  270.                 card:
  271.                   type: custom:button-card
  272.                   color_type: card
  273.                   action: service
  274.                   service:
  275.                     domain: remote
  276.                     action: send_command
  277.                     data:
  278.                       entity_id: remote.harmony
  279.                       device: 55198017
  280.                       command: 'Exit'
  281.                   icon: mdi:backburger
  282.                   color: rgb(75, 75, 77)
  283.           - type: horizontal-stack
  284.             cards:
  285.               - type: conditional
  286.                 conditions:
  287.                   - entity: switch.watch_tv
  288.                     state: 'on'
  289.                 card:
  290.                   type: custom:button-card
  291.                   color_type: card
  292.                   action: service
  293.                   service:
  294.                     domain: remote
  295.                     action: send_command
  296.                     data:
  297.                       entity_id: remote.harmony
  298.                       device: 55198017
  299.                       command: '1'
  300.                   icon: mdi:numeric-1-box-outline
  301.                   color: rgb(150, 150, 150)
  302.               - type: conditional
  303.                 conditions:
  304.                   - entity: switch.watch_tv
  305.                     state: 'on'
  306.                 card:
  307.                   type: custom:button-card
  308.                   color_type: card
  309.                   action: service
  310.                   service:
  311.                     domain: remote
  312.                     action: send_command
  313.                     data:
  314.                       entity_id: remote.harmony
  315.                       device: 55198017
  316.                       command: '2'
  317.                   icon: mdi:numeric-2-box-outline
  318.                   color: rgb(150, 150, 150)
  319.               - type: conditional
  320.                 conditions:
  321.                   - entity: switch.watch_tv
  322.                     state: 'on'
  323.                 card:
  324.                   type: custom:button-card
  325.                   color_type: card
  326.                   action: service
  327.                   service:
  328.                     domain: remote
  329.                     action: send_command
  330.                     data:
  331.                       entity_id: remote.harmony
  332.                       device: 55198017
  333.                       command: '3'
  334.                   icon: mdi:numeric-3-box-outline
  335.                   color: rgb(150, 150, 150)
  336.           - type: horizontal-stack
  337.             cards:
  338.               - type: conditional
  339.                 conditions:
  340.                   - entity: switch.watch_tv
  341.                     state: 'on'
  342.                 card:
  343.                   type: custom:button-card
  344.                   color_type: card
  345.                   action: service
  346.                   service:
  347.                     domain: remote
  348.                     action: send_command
  349.                     data:
  350.                       entity_id: remote.harmony
  351.                       device: 55198017
  352.                       command: '4'
  353.                   icon: mdi:numeric-4-box-outline
  354.                   color: rgb(150, 150, 150)
  355.               - type: conditional
  356.                 conditions:
  357.                   - entity: switch.watch_tv
  358.                     state: 'on'
  359.                 card:
  360.                   type: custom:button-card
  361.                   color_type: card
  362.                   action: service
  363.                   service:
  364.                     domain: remote
  365.                     action: send_command
  366.                     data:
  367.                       entity_id: remote.harmony
  368.                       device: 55198017
  369.                       command: '5'
  370.                   icon: mdi:numeric-5-box-outline
  371.                   color: rgb(150, 150, 150)
  372.               - type: conditional
  373.                 conditions:
  374.                   - entity: switch.watch_tv
  375.                     state: 'on'
  376.                 card:
  377.                   type: custom:button-card
  378.                   color_type: card
  379.                   action: service
  380.                   service:
  381.                     domain: remote
  382.                     action: send_command
  383.                     data:
  384.                       entity_id: remote.harmony
  385.                       device: 55198017
  386.                       command: '6'
  387.                   icon: mdi:numeric-6-box-outline
  388.                   color: rgb(150, 150, 150)
  389.           - type: horizontal-stack
  390.             cards:
  391.               - type: conditional
  392.                 conditions:
  393.                   - entity: switch.watch_tv
  394.                     state: 'on'
  395.                 card:
  396.                   type: custom:button-card
  397.                   color_type: card
  398.                   action: service
  399.                   service:
  400.                     domain: remote
  401.                     action: send_command
  402.                     data:
  403.                       entity_id: remote.harmony
  404.                       device: 55198017
  405.                       command: '7'
  406.                   icon: mdi:numeric-7-box-outline
  407.                   color: rgb(150, 150, 150)
  408.               - type: conditional
  409.                 conditions:
  410.                   - entity: switch.watch_tv
  411.                     state: 'on'
  412.                 card:
  413.                   type: custom:button-card
  414.                   color_type: card
  415.                   action: service
  416.                   service:
  417.                     domain: remote
  418.                     action: send_command
  419.                     data:
  420.                       entity_id: remote.harmony
  421.                       device: 55198017
  422.                       command: '8'
  423.                   icon: mdi:numeric-8-box-outline
  424.                   color: rgb(150, 150, 150)
  425.               - type: conditional
  426.                 conditions:
  427.                   - entity: switch.watch_tv
  428.                     state: 'on'
  429.                 card:
  430.                   type: custom:button-card
  431.                   color_type: card
  432.                   action: service
  433.                   service:
  434.                     domain: remote
  435.                     action: send_command
  436.                     data:
  437.                       entity_id: remote.harmony
  438.                       device: 55198017
  439.                       command: '9'
  440.                   icon: mdi:numeric-9-box-outline
  441.                   color: rgb(150, 150, 150)
  442.           - type: horizontal-stack
  443.             cards:
  444.               - type: conditional
  445.                 conditions:
  446.                   - entity: switch.watch_tv
  447.                     state: 'on'
  448.                 card:
  449.                   type: custom:button-card
  450.                   color_type: blank-card
  451.               - type: conditional
  452.                 conditions:
  453.                   - entity: switch.watch_tv
  454.                     state: 'on'
  455.                 card:
  456.                   type: custom:button-card
  457.                   color_type: card
  458.                   action: service
  459.                   service:
  460.                     domain: remote
  461.                     action: send_command
  462.                     data:
  463.                       entity_id: remote.harmony
  464.                       device: 55198017
  465.                       command: '0'
  466.                   icon: mdi:numeric-0-box-outline
  467.                   color: rgb(150, 150, 150)
  468.               - type: conditional
  469.                 conditions:
  470.                   - entity: switch.watch_tv
  471.                     state: 'on'
  472.                 card:
  473.                   type: custom:button-card
  474.                   color_type: blank-card
  475. # Netflix remote
  476.           - type: horizontal-stack
  477.             cards:
  478.               - type: conditional
  479.                 conditions:
  480.                   - entity: switch.watch_netflix
  481.                     state: 'on'
  482.                 card:
  483.                   type: custom:button-card
  484.                   color_type: card
  485.                   action: service
  486.                   service:
  487.                     domain: remote
  488.                     action: send_command
  489.                     data:
  490.                       entity_id: remote.harmony
  491.                       device: 55198017
  492.                       command: 'Mute'
  493.                   icon: mdi:volume-off
  494.                   color: rgb(75, 75, 77)            
  495.               - type: conditional
  496.                 conditions:
  497.                   - entity: switch.watch_netflix
  498.                     state: 'on'
  499.                 card:
  500.                   type: custom:button-card
  501.                   color_type: card
  502.                   action: service
  503.                   service:
  504.                     domain: remote
  505.                     action: send_command
  506.                     data:
  507.                       entity_id: remote.harmony
  508.                       device: 55198017
  509.                       command: 'Play'
  510.                   icon: mdi:play
  511.                   color: rgb(75, 75, 77)
  512.               - type: conditional
  513.                 conditions:
  514.                   - entity: switch.watch_netflix
  515.                     state: 'on'
  516.                 card:
  517.                   type: custom:button-card
  518.                   color_type: card
  519.                   action: service
  520.                   service:
  521.                     domain: remote
  522.                     action: send_command
  523.                     data:
  524.                       entity_id: remote.harmony
  525.                       device: 55198017
  526.                       command: 'Pause'
  527.                   icon: mdi:pause
  528.                   color: rgb(75, 75, 77)
  529.               - type: conditional
  530.                 conditions:
  531.                   - entity: switch.watch_netflix
  532.                     state: 'on'
  533.                 card:
  534.                   type: custom:button-card
  535.                   color_type: card
  536.                   action: service
  537.                   service:
  538.                     domain: remote
  539.                     action: send_command
  540.                     data:
  541.                       entity_id: remote.harmony
  542.                       device: 55198017
  543.                       command: 'Rewind'
  544.                   icon: mdi:rewind
  545.                   color: rgb(75, 75, 77)
  546.               - type: conditional
  547.                 conditions:
  548.                   - entity: switch.watch_netflix
  549.                     state: 'on'
  550.                 card:
  551.                   type: custom:button-card
  552.                   color_type: card
  553.                   action: service
  554.                   service:
  555.                     domain: remote
  556.                     action: send_command
  557.                     data:
  558.                       entity_id: remote.harmony
  559.                       device: 55198017
  560.                       command: 'FastForward'
  561.                   icon: mdi:fast-forward
  562.                   color: rgb(75, 75, 77)
  563.           - type: horizontal-stack
  564.             cards:
  565.               - type: conditional
  566.                 conditions:
  567.                   - entity: switch.watch_netflix
  568.                     state: 'on'
  569.                 card:
  570.                   type: custom:button-card
  571.                   color_type: card
  572.                   action: service
  573.                   service:
  574.                     domain: remote
  575.                     action: send_command
  576.                     data:
  577.                       entity_id: remote.harmony
  578.                       device: 55198007
  579.                       command: 'VolumeDown'
  580.                   icon: mdi:volume-minus
  581.                   color: rgb(75, 75, 77)
  582.               - type: conditional
  583.                 conditions:
  584.                   - entity: switch.watch_netflix
  585.                     state: 'on'
  586.                 card:
  587.                   type: custom:button-card
  588.                   color_type: card
  589.                   action: service
  590.                   service:
  591.                     domain: remote
  592.                     action: send_command
  593.                     data:
  594.                       entity_id: remote.harmony
  595.                       device: 55198007
  596.                       command: 'DirectionUp'
  597.                   icon: mdi:arrow-up-thick
  598.                   color: rgb(255, 131, 0)
  599.               - type: conditional
  600.                 conditions:
  601.                   - entity: switch.watch_netflix
  602.                     state: 'on'
  603.                 card:
  604.                   type: custom:button-card
  605.                   color_type: card
  606.                   action: service
  607.                   service:
  608.                     domain: remote
  609.                     action: send_command
  610.                     data:
  611.                       entity_id: remote.harmony
  612.                       device: 55198007
  613.                       command: 'VolumeUp'
  614.                   icon: mdi:volume-plus
  615.                   color: rgb(75, 75, 77)
  616.           - type: horizontal-stack
  617.             cards:
  618.               - type: conditional
  619.                 conditions:
  620.                   - entity: switch.watch_netflix
  621.                     state: 'on'
  622.                 card:
  623.                   type: custom:button-card
  624.                   color_type: card
  625.                   action: service
  626.                   service:
  627.                     domain: remote
  628.                     action: send_command
  629.                     data:
  630.                       entity_id: remote.harmony
  631.                       device: 55198007
  632.                       command: 'DirectionLeft'
  633.                   icon: mdi:arrow-left-thick
  634.                   color: rgb(255, 131, 0)
  635.               - type: conditional
  636.                 conditions:
  637.                   - entity: switch.watch_netflix
  638.                     state: 'on'
  639.                 card:
  640.                   type: custom:button-card
  641.                   color_type: card
  642.                   action: service
  643.                   service:
  644.                     domain: remote
  645.                     action: send_command
  646.                     data:
  647.                       entity_id: remote.harmony
  648.                       device: 55198007
  649.                       command: 'OK'
  650.                   icon: mdi:thumb-up-outline
  651.                   color: rgb(255, 131, 0)
  652.               - type: conditional
  653.                 conditions:
  654.                   - entity: switch.watch_netflix
  655.                     state: 'on'
  656.                 card:
  657.                   type: custom:button-card
  658.                   color_type: card
  659.                   action: service
  660.                   service:
  661.                     domain: remote
  662.                     action: send_command
  663.                     data:
  664.                       entity_id: remote.harmony
  665.                       device: 55198007
  666.                       command: 'DirectionRight'
  667.                   icon: mdi:arrow-right-thick
  668.                   color: rgb(255, 131, 0)
  669.           - type: horizontal-stack
  670.             cards:
  671.               - type: conditional
  672.                 conditions:
  673.                   - entity: switch.watch_netflix
  674.                     state: 'on'
  675.                 card:
  676.                   type: custom:button-card
  677.                   color_type: blank-card
  678.               - type: conditional
  679.                 conditions:
  680.                   - entity: switch.watch_netflix
  681.                     state: 'on'
  682.                 card:
  683.                   type: custom:button-card
  684.                   color_type: card
  685.                   action: service
  686.                   service:
  687.                     domain: remote
  688.                     action: send_command
  689.                     data:
  690.                       entity_id: remote.harmony
  691.                       device: 55198007
  692.                       command: 'DirectionDown'
  693.                   icon: mdi:arrow-down-thick
  694.                   color: rgb(255, 131, 0)
  695.               - type: conditional
  696.                 conditions:
  697.                   - entity: switch.watch_netflix
  698.                     state: 'on'
  699.                 card:
  700.                   type: custom:button-card
  701.                   color_type: card
  702.                   action: service
  703.                   service:
  704.                     domain: remote
  705.                     action: send_command
  706.                     data:
  707.                       entity_id: remote.harmony
  708.                       device: 55198007
  709.                       command: 'Back'
  710.                   icon: mdi:backburger
  711.                   color: rgb(75, 75, 77)
  712.  
  713. # Movie remote
  714.           - type: horizontal-stack
  715.             cards:
  716.               - type: conditional
  717.                 conditions:
  718.                   - entity: switch.watch_movie
  719.                     state: 'on'
  720.                 card:
  721.                   type: custom:button-card
  722.                   color_type: card
  723.                   action: service
  724.                   service:
  725.                     domain: remote
  726.                     action: send_command
  727.                     data:
  728.                       entity_id: remote.harmony
  729.                       device: 55198017
  730.                       command: 'Mute'
  731.                   icon: mdi:volume-off
  732.                   color: rgb(75, 75, 77)            
  733.               - type: conditional
  734.                 conditions:
  735.                   - entity: switch.watch_movie
  736.                     state: 'on'
  737.                 card:
  738.                   type: custom:button-card
  739.                   color_type: card
  740.                   action: service
  741.                   service:
  742.                     domain: remote
  743.                     action: send_command
  744.                     data:
  745.                       entity_id: remote.harmony
  746.                       device: 55198017
  747.                       command: 'Play'
  748.                   icon: mdi:play
  749.                   color: rgb(75, 75, 77)
  750.               - type: conditional
  751.                 conditions:
  752.                   - entity: switch.watch_movie
  753.                     state: 'on'
  754.                 card:
  755.                   type: custom:button-card
  756.                   color_type: card
  757.                   action: service
  758.                   service:
  759.                     domain: remote
  760.                     action: send_command
  761.                     data:
  762.                       entity_id: remote.harmony
  763.                       device: 55198017
  764.                       command: 'Pause'
  765.                   icon: mdi:pause
  766.                   color: rgb(75, 75, 77)
  767.               - type: conditional
  768.                 conditions:
  769.                   - entity: switch.watch_movie
  770.                     state: 'on'
  771.                 card:
  772.                   type: custom:button-card
  773.                   color_type: card
  774.                   action: service
  775.                   service:
  776.                     domain: remote
  777.                     action: send_command
  778.                     data:
  779.                       entity_id: remote.harmony
  780.                       device: 55198017
  781.                       command: 'Rewind'
  782.                   icon: mdi:rewind
  783.                   color: rgb(75, 75, 77)
  784.               - type: conditional
  785.                 conditions:
  786.                   - entity: switch.watch_movie
  787.                     state: 'on'
  788.                 card:
  789.                   type: custom:button-card
  790.                   color_type: card
  791.                   action: service
  792.                   service:
  793.                     domain: remote
  794.                     action: send_command
  795.                     data:
  796.                       entity_id: remote.harmony
  797.                       device: 55198017
  798.                       command: 'FastForward'
  799.                   icon: mdi:fast-forward
  800.                   color: rgb(75, 75, 77)
  801.           - type: horizontal-stack
  802.             cards:
  803.               - type: conditional
  804.                 conditions:
  805.                   - entity: switch.watch_movie
  806.                     state: 'on'
  807.                 card:
  808.                   type: custom:button-card
  809.                   color_type: card
  810.                   action: service
  811.                   service:
  812.                     domain: remote
  813.                     action: send_command
  814.                     data:
  815.                       entity_id: remote.harmony
  816.                       device: 55198007
  817.                       command: 'VolumeDown'
  818.                   icon: mdi:volume-minus
  819.                   color: rgb(75, 75, 77)
  820.               - type: conditional
  821.                 conditions:
  822.                   - entity: switch.watch_movie
  823.                     state: 'on'
  824.                 card:
  825.                   type: custom:button-card
  826.                   color_type: card
  827.                   action: service
  828.                   service:
  829.                     domain: remote
  830.                     action: send_command
  831.                     data:
  832.                       entity_id: remote.harmony
  833.                       device: 55198007
  834.                       command: 'DirectionUp'
  835.                   icon: mdi:arrow-up-thick
  836.                   color: rgb(255, 131, 0)
  837.               - type: conditional
  838.                 conditions:
  839.                   - entity: switch.watch_movie
  840.                     state: 'on'
  841.                 card:
  842.                   type: custom:button-card
  843.                   color_type: card
  844.                   action: service
  845.                   service:
  846.                     domain: remote
  847.                     action: send_command
  848.                     data:
  849.                       entity_id: remote.harmony
  850.                       device: 55198007
  851.                       command: 'VolumeUp'
  852.                   icon: mdi:volume-plus
  853.                   color: rgb(75, 75, 77)
  854.           - type: horizontal-stack
  855.             cards:
  856.               - type: conditional
  857.                 conditions:
  858.                   - entity: switch.watch_movie
  859.                     state: 'on'
  860.                 card:
  861.                   type: custom:button-card
  862.                   color_type: card
  863.                   action: service
  864.                   service:
  865.                     domain: remote
  866.                     action: send_command
  867.                     data:
  868.                       entity_id: remote.harmony
  869.                       device: 55198007
  870.                       command: 'DirectionLeft'
  871.                   icon: mdi:arrow-left-thick
  872.                   color: rgb(255, 131, 0)
  873.               - type: conditional
  874.                 conditions:
  875.                   - entity: switch.watch_movie
  876.                     state: 'on'
  877.                 card:
  878.                   type: custom:button-card
  879.                   color_type: card
  880.                   action: service
  881.                   service:
  882.                     domain: remote
  883.                     action: send_command
  884.                     data:
  885.                       entity_id: remote.harmony
  886.                       device: 55198007
  887.                       command: 'OK'
  888.                   icon: mdi:thumb-up-outline
  889.                   color: rgb(255, 131, 0)
  890.               - type: conditional
  891.                 conditions:
  892.                   - entity: switch.watch_movie
  893.                     state: 'on'
  894.                 card:
  895.                   type: custom:button-card
  896.                   color_type: card
  897.                   action: service
  898.                   service:
  899.                     domain: remote
  900.                     action: send_command
  901.                     data:
  902.                       entity_id: remote.harmony
  903.                       device: 55198007
  904.                       command: 'DirectionRight'
  905.                   icon: mdi:arrow-right-thick
  906.                   color: rgb(255, 131, 0)
  907.           - type: horizontal-stack
  908.             cards:
  909.               - type: conditional
  910.                 conditions:
  911.                   - entity: switch.watch_movie
  912.                     state: 'on'
  913.                 card:
  914.                   type: custom:button-card
  915.                   color_type: card
  916.                   action: service
  917.                   service:
  918.                     domain: remote
  919.                     action: send_command
  920.                     data:
  921.                       entity_id: remote.harmony
  922.                       device: 55198007
  923.                       command: 'Option'
  924.                   icon: mdi:settings
  925.                   color: rgb(75, 75, 77)
  926.               - type: conditional
  927.                 conditions:
  928.                   - entity: switch.watch_movie
  929.                     state: 'on'
  930.                 card:
  931.                   type: custom:button-card
  932.                   color_type: card
  933.                   action: service
  934.                   service:
  935.                     domain: remote
  936.                     action: send_command
  937.                     data:
  938.                       entity_id: remote.harmony
  939.                       device: 55198007
  940.                       command: 'DirectionDown'
  941.                   icon: mdi:arrow-down-thick
  942.                   color: rgb(255, 131, 0)
  943.               - type: conditional
  944.                 conditions:
  945.                   - entity: switch.watch_movie
  946.                     state: 'on'
  947.                 card:
  948.                   type: custom:button-card
  949.                   color_type: card
  950.                   action: service
  951.                   service:
  952.                     domain: remote
  953.                     action: send_command
  954.                     data:
  955.                       entity_id: remote.harmony
  956.                       device: 55198007
  957.                       command: 'Back'
  958.                   icon: mdi:backburger
  959.                   color: rgb(75, 75, 77)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement