Advertisement
XeRiZeR

Untitled

Dec 28th, 2024
534
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 75.70 KB | None | 0 0
  1. Scripts til styring af Projektor, forstærker, Intel nuc osv fra tablet.
  2.  
  3. alias: Tænd og se DR
  4. sequence:
  5.   - action: switch.turn_on
  6.     target:
  7.       entity_id: switch.mediecenter
  8.     data: {}
  9.   - action: button.press
  10.     target:
  11.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  12.     data: {}
  13.   - action: button.press
  14.     data: {}
  15.     target:
  16.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  17.   - wait_for_trigger:
  18.       - trigger: state
  19.         entity_id:
  20.          - sensor.mediestation_processactive
  21.         to: "1"
  22.   - action: button.press
  23.     metadata: {}
  24.     data: {}
  25.     target:
  26.       entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
  27.   - delay:
  28.       hours: 0
  29.       minutes: 0
  30.       seconds: 2
  31.       milliseconds: 0
  32.   - action: button.press
  33.     metadata: {}
  34.     data: {}
  35.     target:
  36.       entity_id: button.mediestation_drtv
  37.   - action: scene.turn_on
  38.     metadata: {}
  39.     data: {}
  40.     target:
  41.       entity_id: scene.dagligstue_2_film
  42. mode: restart
  43.  
  44. alias: Tænd og se Netflix
  45. sequence:
  46.   - action: switch.turn_on
  47.     target:
  48.       entity_id: switch.mediecenter
  49.     data: {}
  50.   - action: button.press
  51.     target:
  52.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  53.     data: {}
  54.   - action: button.press
  55.     data: {}
  56.     target:
  57.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  58.   - wait_for_trigger:
  59.       - trigger: state
  60.         entity_id:
  61.          - sensor.mediestation_processactive
  62.         to: "1"
  63.   - delay:
  64.       hours: 0
  65.       minutes: 0
  66.       seconds: 2
  67.       milliseconds: 0
  68.   - action: button.press
  69.     metadata: {}
  70.     data: {}
  71.     target:
  72.       entity_id: button.mediestation_netflix
  73.   - action: scene.turn_on
  74.     metadata: {}
  75.     data: {}
  76.     target:
  77.       entity_id: scene.dagligstue_2_film
  78. mode: restart
  79.  
  80. alias: Tænd og se Disney +
  81. sequence:
  82.   - action: switch.turn_on
  83.     target:
  84.       entity_id: switch.mediecenter
  85.     data: {}
  86.   - action: button.press
  87.     target:
  88.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  89.     data: {}
  90.   - action: button.press
  91.     data: {}
  92.     target:
  93.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  94.   - wait_for_trigger:
  95.       - trigger: state
  96.         entity_id:
  97.          - sensor.mediestation_processactive
  98.         to: "1"
  99.   - delay:
  100.       hours: 0
  101.       minutes: 0
  102.       seconds: 2
  103.       milliseconds: 0
  104.   - action: button.press
  105.     metadata: {}
  106.     data: {}
  107.     target:
  108.       entity_id: button.mediestation_disney
  109.   - action: scene.turn_on
  110.     metadata: {}
  111.     data: {}
  112.     target:
  113.       entity_id: scene.dagligstue_2_film
  114. mode: restart
  115.  
  116. alias: Tænd og maximer Spotify
  117. sequence:
  118.   - action: switch.turn_on
  119.     target:
  120.       entity_id: switch.mediecenter
  121.     data: {}
  122.   - action: button.press
  123.     target:
  124.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  125.     data: {}
  126.   - action: button.press
  127.     data: {}
  128.     target:
  129.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  130.   - wait_for_trigger:
  131.       - trigger: state
  132.         entity_id:
  133.          - sensor.mediestation_processactive
  134.         to: "1"
  135.   - delay:
  136.       hours: 0
  137.       minutes: 0
  138.       seconds: 2
  139.       milliseconds: 0
  140.   - action: button.press
  141.     metadata: {}
  142.     data: {}
  143.     target:
  144.       entity_id: button.mediestation_sendwindowtofront
  145.   - action: scene.turn_on
  146.     metadata: {}
  147.     data: {}
  148.     target:
  149.       entity_id: scene.dagligstue_2_film
  150. mode: restart
  151.  
  152. alias: Spil wii
  153. sequence:
  154.   - action: button.press
  155.     target:
  156.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  157.     data: {}
  158.   - action: button.press
  159.     data: {}
  160.     target:
  161.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  162.   - delay:
  163.       hours: 0
  164.       minutes: 0
  165.       seconds: 35
  166.       milliseconds: 0
  167.   - action: button.press
  168.     metadata: {}
  169.     data: {}
  170.     target:
  171.       entity_id: button.ir_transmitter_receiver_epson_video_input_ir_led_1
  172.   - action: button.press
  173.     metadata: {}
  174.     data: {}
  175.     target:
  176.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  177. mode: restart
  178.  
  179. alias: Tænd og se DR Fra Wii
  180. sequence:
  181.   - action: switch.turn_on
  182.     target:
  183.       entity_id: switch.mediecenter
  184.     data: {}
  185.   - action: button.press
  186.     target:
  187.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  188.     data: {}
  189.     enabled: true
  190.   - delay:
  191.       hours: 0
  192.       minutes: 0
  193.       seconds: 2
  194.       milliseconds: 0
  195.   - action: button.press
  196.     data: {}
  197.     target:
  198.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  199.     enabled: true
  200.   - wait_for_trigger:
  201.       - trigger: state
  202.         entity_id:
  203.          - sensor.mediestation_processactive
  204.         to: "1"
  205.     timeout:
  206.       hours: 0
  207.       minutes: 0
  208.       seconds: 0
  209.       milliseconds: 0
  210.   - action: button.press
  211.     metadata: {}
  212.     data: {}
  213.     target:
  214.       entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
  215.     enabled: true
  216.   - delay:
  217.       hours: 0
  218.       minutes: 0
  219.       seconds: 2
  220.       milliseconds: 0
  221.   - action: button.press
  222.     metadata: {}
  223.     data: {}
  224.     target:
  225.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  226.     enabled: true
  227.   - delay:
  228.       hours: 0
  229.       minutes: 0
  230.       seconds: 3
  231.       milliseconds: 0
  232.   - action: button.press
  233.     metadata: {}
  234.     data: {}
  235.     target:
  236.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  237.     enabled: true
  238.   - delay:
  239.       hours: 0
  240.       minutes: 0
  241.       seconds: 3
  242.       milliseconds: 0
  243.   - action: button.press
  244.     metadata: {}
  245.     data: {}
  246.     target:
  247.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  248.     enabled: true
  249.   - delay:
  250.       hours: 0
  251.       minutes: 0
  252.       seconds: 3
  253.       milliseconds: 0
  254.   - action: button.press
  255.     metadata: {}
  256.     data: {}
  257.     target:
  258.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  259.     enabled: true
  260.   - delay:
  261.       hours: 0
  262.       minutes: 0
  263.       seconds: 2
  264.       milliseconds: 0
  265.   - action: button.press
  266.     metadata: {}
  267.     data: {}
  268.     target:
  269.       entity_id: button.mediestation_drtv
  270.     enabled: true
  271.   - action: scene.turn_on
  272.     metadata: {}
  273.     data: {}
  274.     target:
  275.       entity_id: scene.dagligstue_2_film
  276. mode: restart
  277.  
  278. alias: Tænd og se Disney+ Fra Wii
  279. sequence:
  280.   - action: switch.turn_on
  281.     target:
  282.       entity_id: switch.mediecenter
  283.     data: {}
  284.   - action: button.press
  285.     target:
  286.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  287.     data: {}
  288.     enabled: true
  289.   - delay:
  290.       hours: 0
  291.       minutes: 0
  292.       seconds: 2
  293.       milliseconds: 0
  294.   - action: button.press
  295.     data: {}
  296.     target:
  297.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  298.     enabled: true
  299.   - wait_for_trigger:
  300.       - trigger: state
  301.         entity_id:
  302.          - sensor.mediestation_processactive
  303.         to: "1"
  304.     timeout:
  305.       hours: 0
  306.       minutes: 0
  307.       seconds: 0
  308.       milliseconds: 0
  309.   - action: button.press
  310.     metadata: {}
  311.     data: {}
  312.     target:
  313.       entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
  314.     enabled: true
  315.   - delay:
  316.       hours: 0
  317.       minutes: 0
  318.       seconds: 2
  319.       milliseconds: 0
  320.   - action: button.press
  321.     metadata: {}
  322.     data: {}
  323.     target:
  324.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  325.     enabled: true
  326.   - delay:
  327.       hours: 0
  328.       minutes: 0
  329.       seconds: 3
  330.       milliseconds: 0
  331.   - action: button.press
  332.     metadata: {}
  333.     data: {}
  334.     target:
  335.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  336.     enabled: true
  337.   - delay:
  338.       hours: 0
  339.       minutes: 0
  340.       seconds: 3
  341.       milliseconds: 0
  342.   - action: button.press
  343.     metadata: {}
  344.     data: {}
  345.     target:
  346.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  347.     enabled: true
  348.   - delay:
  349.       hours: 0
  350.       minutes: 0
  351.       seconds: 3
  352.       milliseconds: 0
  353.   - action: button.press
  354.     metadata: {}
  355.     data: {}
  356.     target:
  357.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  358.     enabled: true
  359.   - delay:
  360.       hours: 0
  361.       minutes: 0
  362.       seconds: 2
  363.       milliseconds: 0
  364.   - action: button.press
  365.     metadata: {}
  366.     data: {}
  367.     enabled: true
  368.     target:
  369.       entity_id: button.mediestation_disney
  370.   - action: scene.turn_on
  371.     metadata: {}
  372.     data: {}
  373.     target:
  374.       entity_id: scene.dagligstue_2_film
  375. mode: restart
  376. icon: phu:disney-plus
  377.  
  378. alias: Tænd og se Netflix Fra Wii
  379. sequence:
  380.   - action: switch.turn_on
  381.     target:
  382.       entity_id: switch.mediecenter
  383.     data: {}
  384.   - action: button.press
  385.     target:
  386.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  387.     data: {}
  388.     enabled: true
  389.   - delay:
  390.       hours: 0
  391.       minutes: 0
  392.       seconds: 2
  393.       milliseconds: 0
  394.   - action: button.press
  395.     data: {}
  396.     target:
  397.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  398.     enabled: true
  399.   - wait_for_trigger:
  400.       - trigger: state
  401.         entity_id:
  402.          - sensor.mediestation_processactive
  403.         to: "1"
  404.     timeout:
  405.       hours: 0
  406.       minutes: 0
  407.       seconds: 0
  408.       milliseconds: 0
  409.   - action: button.press
  410.     metadata: {}
  411.     data: {}
  412.     target:
  413.       entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
  414.     enabled: true
  415.   - delay:
  416.       hours: 0
  417.       minutes: 0
  418.       seconds: 2
  419.       milliseconds: 0
  420.   - action: button.press
  421.     metadata: {}
  422.     data: {}
  423.     target:
  424.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  425.     enabled: true
  426.   - delay:
  427.       hours: 0
  428.       minutes: 0
  429.       seconds: 3
  430.       milliseconds: 0
  431.   - action: button.press
  432.     metadata: {}
  433.     data: {}
  434.     target:
  435.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  436.     enabled: true
  437.   - delay:
  438.       hours: 0
  439.       minutes: 0
  440.       seconds: 3
  441.       milliseconds: 0
  442.   - action: button.press
  443.     metadata: {}
  444.     data: {}
  445.     target:
  446.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  447.     enabled: true
  448.   - delay:
  449.       hours: 0
  450.       minutes: 0
  451.       seconds: 3
  452.       milliseconds: 0
  453.   - action: button.press
  454.     metadata: {}
  455.     data: {}
  456.     target:
  457.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  458.     enabled: true
  459.   - delay:
  460.       hours: 0
  461.       minutes: 0
  462.       seconds: 2
  463.       milliseconds: 0
  464.   - action: button.press
  465.     metadata: {}
  466.     data: {}
  467.     enabled: true
  468.     target:
  469.       entity_id: button.mediestation_netflix
  470.   - action: scene.turn_on
  471.     metadata: {}
  472.     data: {}
  473.     target:
  474.       entity_id: scene.dagligstue_2_film
  475. mode: restart
  476. icon: phu:netflix
  477.  
  478. alias: Tænd og spil Spotify Fra Wii
  479. sequence:
  480.   - action: switch.turn_on
  481.     target:
  482.       entity_id: switch.mediecenter
  483.     data: {}
  484.   - action: button.press
  485.     target:
  486.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  487.     data: {}
  488.   - delay:
  489.       hours: 0
  490.       minutes: 0
  491.       seconds: 1
  492.       milliseconds: 0
  493.   - action: button.press
  494.     data: {}
  495.     target:
  496.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  497.   - wait_for_trigger:
  498.       - trigger: state
  499.         entity_id:
  500.          - sensor.mediestation_processactive
  501.         to: "1"
  502.   - action: button.press
  503.     metadata: {}
  504.     data: {}
  505.     target:
  506.       entity_id: button.ir_transmitter_receiver_epson_pc_input_ir_led_1
  507.   - delay:
  508.       hours: 0
  509.       minutes: 0
  510.       seconds: 1
  511.       milliseconds: 0
  512.   - action: button.press
  513.     metadata: {}
  514.     data: {}
  515.     target:
  516.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  517.   - delay:
  518.       hours: 0
  519.       minutes: 0
  520.       seconds: 3
  521.       milliseconds: 0
  522.   - action: button.press
  523.     metadata: {}
  524.     data: {}
  525.     target:
  526.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  527.   - delay:
  528.       hours: 0
  529.       minutes: 0
  530.       seconds: 3
  531.       milliseconds: 0
  532.   - action: button.press
  533.     metadata: {}
  534.     data: {}
  535.     target:
  536.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  537.   - delay:
  538.       hours: 0
  539.       minutes: 0
  540.       seconds: 3
  541.       milliseconds: 0
  542.   - action: button.press
  543.     metadata: {}
  544.     data: {}
  545.     target:
  546.       entity_id: button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  547.   - delay:
  548.       hours: 0
  549.       minutes: 0
  550.       seconds: 2
  551.       milliseconds: 0
  552.   - action: button.press
  553.     metadata: {}
  554.     data: {}
  555.     target:
  556.       entity_id: button.mediestation_sendwindowtofront
  557. mode: restart
  558.  
  559. alias: Spil wii fra wii
  560. sequence:
  561.   - action: button.press
  562.     target:
  563.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  564.     data: {}
  565.   - action: button.press
  566.     data: {}
  567.     target:
  568.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  569. mode: restart
  570. icon: mdi:nintendo-wii
  571.  
  572. alias: Sluk TV
  573. sequence:
  574.   - action: button.press
  575.     metadata: {}
  576.     data: {}
  577.     target:
  578.       entity_id: button.mediestation_custom
  579.   - delay:
  580.       hours: 0
  581.       minutes: 0
  582.       seconds: 1
  583.       milliseconds: 0
  584.   - action: switch.turn_off
  585.     target:
  586.       entity_id:
  587.        - switch.mediecenter
  588.     data: {}
  589.   - action: button.press
  590.     target:
  591.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  592.     data: {}
  593.   - action: button.press
  594.     data: {}
  595.     target:
  596.       entity_id: button.ir_transmitter_receiver_harman_kardon_on_off_ir_led_1
  597.   - delay:
  598.       hours: 0
  599.       minutes: 0
  600.       seconds: 3
  601.       milliseconds: 0
  602.   - action: button.press
  603.     target:
  604.       entity_id: button.ir_transmitter_receiver_epson_on_off_ir_led_1
  605.     data: {}
  606.   - action: scene.turn_on
  607.     metadata: {}
  608.     data: {}
  609.     target:
  610.       entity_id: scene.dagligstue_1_aften
  611. mode: restart
  612. icon: mdi:power-standby
  613.  
  614. Dashboard på tablet:
  615. square: true
  616. type: grid
  617. cards:
  618.   - type: horizontal-stack
  619.     cards:
  620.       - type: markdown
  621.         content: >
  622.          {{states('sensor.time') and as_timestamp(now()) |
  623.           timestamp_custom('%H:%M')}}
  624.         card_mod:
  625.           style: |
  626.            ha-card {
  627.               background: none;
  628.               border: none;
  629.               text-align: center;
  630.               padding: 20px;
  631.               font-size: 150px;
  632.               font-family: Bungee Spice;
  633.               color: red;
  634.               margin-top: 10px;
  635.             }
  636.   - square: true
  637.     type: grid
  638.     cards:
  639.       - type: horizontal-stack
  640.         cards:
  641.           - type: conditional
  642.             conditions:
  643.               - condition: state
  644.                 entity: media_player.mediestation
  645.                 state: playing
  646.             card:
  647.               type: media-control
  648.               entity: media_player.mediestation
  649.               card_mod:
  650.                 style: |
  651.                  ha-card {
  652.                     background: none;
  653.                     border: none;
  654.                     height: 185px !important;
  655.                     margin-top: -1177px;
  656.                   }
  657.     columns: 1
  658.   - type: vertical-stack
  659.     cards:
  660.       - type: grid
  661.         cards:
  662.           - square: true
  663.             type: grid
  664.             cards:
  665.               - type: vertical-stack
  666.                 cards:
  667.                   - type: horizontal-stack
  668.                     cards:
  669.                       - type: conditional
  670.                         conditions:
  671.                           - condition: state
  672.                             entity: sensor.sidst_brugt_script
  673.                             state: Tænd og se DR
  674.                         card:
  675.                           type: custom:button-card
  676.                           entity_picture: /local/Dashboard/remote/DR.png
  677.                           show_entity_picture: true
  678.                           show_name: false
  679.                           tap_action:
  680.                             action: call-service
  681.                             service: script.turn_on
  682.                             service_data:
  683.                               entity_id: script.tand_og_se_dr
  684.                           card_mod:
  685.                             style: |
  686.                              ha-card {
  687.                                 background: none;
  688.                                 border: none;
  689.                                 margin-top: -2275px;
  690.                               }
  691.                       - type: conditional
  692.                         conditions:
  693.                           - condition: state
  694.                             entity: sensor.sidst_brugt_script
  695.                             state: Tænd og se Disney +
  696.                         card:
  697.                           type: custom:button-card
  698.                           entity_picture: /local/Dashboard/remote/DR.png
  699.                           show_entity_picture: true
  700.                           show_name: false
  701.                           tap_action:
  702.                             action: call-service
  703.                             service: script.turn_on
  704.                             service_data:
  705.                               entity_id: script.tand_og_se_dr
  706.                           card_mod:
  707.                             style: |
  708.                              ha-card {
  709.                                 background: none;
  710.                                 border: none;
  711.                                 margin-top: -2275px;
  712.                               }
  713.                       - type: conditional
  714.                         conditions:
  715.                           - condition: state
  716.                             entity: sensor.sidst_brugt_script
  717.                             state: Tænd og se Netflix
  718.                         card:
  719.                           type: custom:button-card
  720.                           entity_picture: /local/Dashboard/remote/DR.png
  721.                           show_entity_picture: true
  722.                           show_name: false
  723.                           tap_action:
  724.                             action: call-service
  725.                             service: script.turn_on
  726.                             service_data:
  727.                               entity_id: script.tand_og_se_dr
  728.                           card_mod:
  729.                             style: |
  730.                              ha-card {
  731.                                 background: none;
  732.                                 border: none;
  733.                                 margin-top: -2275px;
  734.                               }
  735.                       - type: conditional
  736.                         conditions:
  737.                           - condition: state
  738.                             entity: sensor.sidst_brugt_script
  739.                             state: Tænd og maximer Spotify
  740.                         card:
  741.                           type: custom:button-card
  742.                           entity_picture: /local/Dashboard/remote/DR.png
  743.                           show_entity_picture: true
  744.                           show_name: false
  745.                           tap_action:
  746.                             action: call-service
  747.                             service: script.turn_on
  748.                             service_data:
  749.                               entity_id: script.tand_og_se_dr
  750.                           card_mod:
  751.                             style: |
  752.                              ha-card {
  753.                                 background: none;
  754.                                 border: none;
  755.                                 margin-top: -2275px;
  756.                               }
  757.                       - type: conditional
  758.                         conditions:
  759.                           - condition: state
  760.                             entity: sensor.sidst_brugt_script
  761.                             state: Tænd og se DR Fra Wii
  762.                         card:
  763.                           type: custom:button-card
  764.                           entity_picture: /local/Dashboard/remote/DR.png
  765.                           show_entity_picture: true
  766.                           show_name: false
  767.                           tap_action:
  768.                             action: call-service
  769.                             service: script.turn_on
  770.                             service_data:
  771.                               entity_id: script.tand_og_se_dr_fra_wii
  772.                           card_mod:
  773.                             style: |
  774.                              ha-card {
  775.                                 background: none;
  776.                                 border: none;
  777.                                 margin-top: -2275px;
  778.                               }
  779.                       - type: conditional
  780.                         conditions:
  781.                           - condition: state
  782.                             entity: sensor.sidst_brugt_script
  783.                             state: Tænd og se Disney + Fra Wii
  784.                         card:
  785.                           type: custom:button-card
  786.                           entity_picture: /local/Dashboard/remote/DR.png
  787.                           show_entity_picture: true
  788.                           show_name: false
  789.                           tap_action:
  790.                             action: call-service
  791.                             service: script.turn_on
  792.                             service_data:
  793.                               entity_id: script.tand_og_se_dr_fra_wii
  794.                           card_mod:
  795.                             style: |
  796.                              ha-card {
  797.                                 background: none;
  798.                                 border: none;
  799.                                 margin-top: -2275px;
  800.                               }
  801.                       - type: conditional
  802.                         conditions:
  803.                           - condition: state
  804.                             entity: sensor.sidst_brugt_script
  805.                             state: Tænd og se Netflix + Fra Wii
  806.                         card:
  807.                           type: custom:button-card
  808.                           entity_picture: /local/Dashboard/remote/DR.png
  809.                           show_entity_picture: true
  810.                           show_name: false
  811.                           tap_action:
  812.                             action: call-service
  813.                             service: script.turn_on
  814.                             service_data:
  815.                               entity_id: script.tand_og_se_dr_fra_wii
  816.                           card_mod:
  817.                             style: |
  818.                              ha-card {
  819.                                 background: none;
  820.                                 border: none;
  821.                                 margin-top: -2275px;
  822.                               }
  823.                       - type: conditional
  824.                         conditions:
  825.                           - condition: state
  826.                             entity: sensor.sidst_brugt_script
  827.                             state: Tænd og spil Spotify Fra Wii
  828.                         card:
  829.                           type: custom:button-card
  830.                           entity_picture: /local/Dashboard/remote/DR.png
  831.                           show_entity_picture: true
  832.                           show_name: false
  833.                           tap_action:
  834.                             action: call-service
  835.                             service: script.turn_on
  836.                             service_data:
  837.                               entity_id: script.tand_og_se_dr_fra_wii
  838.                           card_mod:
  839.                             style: |
  840.                              ha-card {
  841.                                 background: none;
  842.                                 border: none;
  843.                                 margin-top: -2275px;
  844.                               }
  845.                       - type: conditional
  846.                         conditions:
  847.                           - condition: state
  848.                             entity: sensor.sidst_brugt_script
  849.                             state: Spil wii
  850.                         card:
  851.                           type: custom:button-card
  852.                           entity_picture: /local/Dashboard/remote/DR.png
  853.                           show_entity_picture: true
  854.                           show_name: false
  855.                           tap_action:
  856.                             action: call-service
  857.                             service: script.turn_on
  858.                             service_data:
  859.                               entity_id: script.tand_og_se_dr_fra_wii
  860.                           card_mod:
  861.                             style: |
  862.                              ha-card {
  863.                                 background: none;
  864.                                 border: none;
  865.                                 margin-top: -2275px;
  866.                               }
  867.                       - type: conditional
  868.                         conditions:
  869.                           - condition: state
  870.                             entity: sensor.sidst_brugt_script
  871.                             state: Spil wii fra wii
  872.                         card:
  873.                           type: custom:button-card
  874.                           entity_picture: /local/Dashboard/remote/DR.png
  875.                           show_entity_picture: true
  876.                           show_name: false
  877.                           tap_action:
  878.                             action: call-service
  879.                             service: script.turn_on
  880.                             service_data:
  881.                               entity_id: script.tand_og_se_dr_fra_wii
  882.                           card_mod:
  883.                             style: |
  884.                              ha-card {
  885.                                 background: none;
  886.                                 border: none;
  887.                                 margin-top: -2275px;
  888.                               }
  889.                       - type: conditional
  890.                         conditions:
  891.                           - condition: state
  892.                             entity: sensor.sidst_brugt_script
  893.                             state: Tænd og se DR
  894.                         card:
  895.                           type: custom:button-card
  896.                           entity_picture: /local/Dashboard/remote/Disney+.png
  897.                           show_entity_picture: true
  898.                           show_name: false
  899.                           tap_action:
  900.                             action: call-service
  901.                             service: script.turn_on
  902.                             service_data:
  903.                               entity_id: script.tand_og_se_disney
  904.                           card_mod:
  905.                             style: |
  906.                              ha-card {
  907.                                 background: none;
  908.                                 border: none;
  909.                                 margin-top: -2275px;
  910.                               }
  911.                       - type: conditional
  912.                         conditions:
  913.                           - condition: state
  914.                             entity: sensor.sidst_brugt_script
  915.                             state: Tænd og se Disney +
  916.                         card:
  917.                           type: custom:button-card
  918.                           entity_picture: /local/Dashboard/remote/Disney+.png
  919.                           show_entity_picture: true
  920.                           show_name: false
  921.                           tap_action:
  922.                             action: call-service
  923.                             service: script.turn_on
  924.                             service_data:
  925.                               entity_id: script.tand_og_se_disney
  926.                           card_mod:
  927.                             style: |
  928.                              ha-card {
  929.                                 background: none;
  930.                                 border: none;
  931.                                 margin-top: -2275px;
  932.                               }
  933.                       - type: conditional
  934.                         conditions:
  935.                           - condition: state
  936.                             entity: sensor.sidst_brugt_script
  937.                             state: Tænd og se Netflix
  938.                         card:
  939.                           type: custom:button-card
  940.                           entity_picture: /local/Dashboard/remote/Disney+.png
  941.                           show_entity_picture: true
  942.                           show_name: false
  943.                           tap_action:
  944.                             action: call-service
  945.                             service: script.turn_on
  946.                             service_data:
  947.                               entity_id: script.tand_og_se_disney
  948.                           card_mod:
  949.                             style: |
  950.                              ha-card {
  951.                                 background: none;
  952.                                 border: none;
  953.                                 margin-top: -2275px;
  954.                               }
  955.                       - type: conditional
  956.                         conditions:
  957.                           - condition: state
  958.                             entity: sensor.sidst_brugt_script
  959.                             state: Tænd og maximer Spotify
  960.                         card:
  961.                           type: custom:button-card
  962.                           entity_picture: /local/Dashboard/remote/Disney+.png
  963.                           show_entity_picture: true
  964.                           show_name: false
  965.                           tap_action:
  966.                             action: call-service
  967.                             service: script.turn_on
  968.                             service_data:
  969.                               entity_id: script.tand_og_se_disney
  970.                           card_mod:
  971.                             style: |
  972.                              ha-card {
  973.                                 background: none;
  974.                                 border: none;
  975.                                 margin-top: -2275px;
  976.                               }
  977.                       - type: conditional
  978.                         conditions:
  979.                           - condition: state
  980.                             entity: sensor.sidst_brugt_script
  981.                             state: Tænd og se DR Fra Wii
  982.                         card:
  983.                           type: custom:button-card
  984.                           entity_picture: /local/Dashboard/remote/Disney+.png
  985.                           show_entity_picture: true
  986.                           show_name: false
  987.                           tap_action:
  988.                             action: call-service
  989.                             service: script.turn_on
  990.                             service_data:
  991.                               entity_id: script.tand_og_se_disney_fra_wii
  992.                           card_mod:
  993.                             style: |
  994.                              ha-card {
  995.                                 background: none;
  996.                                 border: none;
  997.                                 margin-top: -2275px;
  998.                               }
  999.                       - type: conditional
  1000.                         conditions:
  1001.                           - condition: state
  1002.                             entity: sensor.sidst_brugt_script
  1003.                             state: Tænd og se Disney + Fra Wii
  1004.                         card:
  1005.                           type: custom:button-card
  1006.                           entity_picture: /local/Dashboard/remote/Disney+.png
  1007.                           show_entity_picture: true
  1008.                           show_name: false
  1009.                           tap_action:
  1010.                             action: call-service
  1011.                             service: script.turn_on
  1012.                             service_data:
  1013.                               entity_id: script.tand_og_se_disney_fra_wii
  1014.                           card_mod:
  1015.                             style: |
  1016.                              ha-card {
  1017.                                 background: none;
  1018.                                 border: none;
  1019.                                 margin-top: -2275px;
  1020.                               }
  1021.                       - type: conditional
  1022.                         conditions:
  1023.                           - condition: state
  1024.                             entity: sensor.sidst_brugt_script
  1025.                             state: Tænd og se Netflix + Fra Wii
  1026.                         card:
  1027.                           type: custom:button-card
  1028.                           entity_picture: /local/Dashboard/remote/Disney+.png
  1029.                           show_entity_picture: true
  1030.                           show_name: false
  1031.                           tap_action:
  1032.                             action: call-service
  1033.                             service: script.turn_on
  1034.                             service_data:
  1035.                               entity_id: script.tand_og_se_disney_fra_wii
  1036.                           card_mod:
  1037.                             style: |
  1038.                              ha-card {
  1039.                                 background: none;
  1040.                                 border: none;
  1041.                                 margin-top: -2275px;
  1042.                               }
  1043.                       - type: conditional
  1044.                         conditions:
  1045.                           - condition: state
  1046.                             entity: sensor.sidst_brugt_script
  1047.                             state: Tænd og spil Spotify Fra Wii
  1048.                         card:
  1049.                           type: custom:button-card
  1050.                           entity_picture: /local/Dashboard/remote/Disney+.png
  1051.                           show_entity_picture: true
  1052.                           show_name: false
  1053.                           tap_action:
  1054.                             action: call-service
  1055.                             service: script.turn_on
  1056.                             service_data:
  1057.                               entity_id: script.tand_og_se_disney_fra_wii
  1058.                           card_mod:
  1059.                             style: |
  1060.                              ha-card {
  1061.                                 background: none;
  1062.                                 border: none;
  1063.                                 margin-top: -2275px;
  1064.                               }
  1065.                       - type: conditional
  1066.                         conditions:
  1067.                           - condition: state
  1068.                             entity: sensor.sidst_brugt_script
  1069.                             state: Spil wii
  1070.                         card:
  1071.                           type: custom:button-card
  1072.                           entity_picture: /local/Dashboard/remote/Disney+.png
  1073.                           show_entity_picture: true
  1074.                           show_name: false
  1075.                           tap_action:
  1076.                             action: call-service
  1077.                             service: script.turn_on
  1078.                             service_data:
  1079.                               entity_id: script.tand_og_se_disney_fra_wii
  1080.                           card_mod:
  1081.                             style: |
  1082.                              ha-card {
  1083.                                 background: none;
  1084.                                 border: none;
  1085.                                 margin-top: -2275px;
  1086.                               }
  1087.                       - type: conditional
  1088.                         conditions:
  1089.                           - condition: state
  1090.                             entity: sensor.sidst_brugt_script
  1091.                             state: Spil wii fra wii
  1092.                         card:
  1093.                           type: custom:button-card
  1094.                           entity_picture: /local/Dashboard/remote/Disney+.png
  1095.                           show_entity_picture: true
  1096.                           show_name: false
  1097.                           tap_action:
  1098.                             action: call-service
  1099.                             service: script.turn_on
  1100.                             service_data:
  1101.                               entity_id: script.tand_og_se_disney_fra_wii
  1102.                           card_mod:
  1103.                             style: |
  1104.                              ha-card {
  1105.                                 background: none;
  1106.                                 border: none;
  1107.                                 margin-top: -2275px;
  1108.                               }
  1109.                       - type: conditional
  1110.                         conditions:
  1111.                           - condition: state
  1112.                             entity: sensor.sidst_brugt_script
  1113.                             state: Tænd og se DR
  1114.                         card:
  1115.                           type: custom:button-card
  1116.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1117.                           show_entity_picture: true
  1118.                           show_name: false
  1119.                           tap_action:
  1120.                             action: call-service
  1121.                             service: script.turn_on
  1122.                             service_data:
  1123.                               entity_id: script.tand_og_se_netflix
  1124.                           card_mod:
  1125.                             style: |
  1126.                              ha-card {
  1127.                                 background: none;
  1128.                                 border: none;
  1129.                                 margin-top: -2275px;
  1130.                               }
  1131.                       - type: conditional
  1132.                         conditions:
  1133.                           - condition: state
  1134.                             entity: sensor.sidst_brugt_script
  1135.                             state: Tænd og se Disney +
  1136.                         card:
  1137.                           type: custom:button-card
  1138.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1139.                           show_entity_picture: true
  1140.                           show_name: false
  1141.                           tap_action:
  1142.                             action: call-service
  1143.                             service: script.turn_on
  1144.                             service_data:
  1145.                               entity_id: script.tand_og_se_netflix
  1146.                           card_mod:
  1147.                             style: |
  1148.                              ha-card {
  1149.                                 background: none;
  1150.                                 border: none;
  1151.                                 margin-top: -2275px;
  1152.                               }
  1153.                       - type: conditional
  1154.                         conditions:
  1155.                           - condition: state
  1156.                             entity: sensor.sidst_brugt_script
  1157.                             state: Tænd og se Netflix
  1158.                         card:
  1159.                           type: custom:button-card
  1160.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1161.                           show_entity_picture: true
  1162.                           show_name: false
  1163.                           tap_action:
  1164.                             action: call-service
  1165.                             service: script.turn_on
  1166.                             service_data:
  1167.                               entity_id: script.tand_og_se_netflix
  1168.                           card_mod:
  1169.                             style: |
  1170.                              ha-card {
  1171.                                 background: none;
  1172.                                 border: none;
  1173.                                 margin-top: -2275px;
  1174.                               }
  1175.                       - type: conditional
  1176.                         conditions:
  1177.                           - condition: state
  1178.                             entity: sensor.sidst_brugt_script
  1179.                             state: Tænd og maximer Spotify
  1180.                         card:
  1181.                           type: custom:button-card
  1182.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1183.                           show_entity_picture: true
  1184.                           show_name: false
  1185.                           tap_action:
  1186.                             action: call-service
  1187.                             service: script.turn_on
  1188.                             service_data:
  1189.                               entity_id: script.tand_og_se_netflix
  1190.                           card_mod:
  1191.                             style: |
  1192.                              ha-card {
  1193.                                 background: none;
  1194.                                 border: none;
  1195.                                 margin-top: -2275px;
  1196.                               }
  1197.                       - type: conditional
  1198.                         conditions:
  1199.                           - condition: state
  1200.                             entity: sensor.sidst_brugt_script
  1201.                             state: Tænd og se DR Fra Wii
  1202.                         card:
  1203.                           type: custom:button-card
  1204.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1205.                           show_entity_picture: true
  1206.                           show_name: false
  1207.                           tap_action:
  1208.                             action: call-service
  1209.                             service: script.turn_on
  1210.                             service_data:
  1211.                               entity_id: script.tand_og_se_netflix_fra_wii
  1212.                           card_mod:
  1213.                             style: |
  1214.                              ha-card {
  1215.                                 background: none;
  1216.                                 border: none;
  1217.                                 margin-top: -2275px;
  1218.                               }
  1219.                       - type: conditional
  1220.                         conditions:
  1221.                           - condition: state
  1222.                             entity: sensor.sidst_brugt_script
  1223.                             state: Tænd og se Disney + Fra Wii
  1224.                         card:
  1225.                           type: custom:button-card
  1226.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1227.                           show_entity_picture: true
  1228.                           show_name: false
  1229.                           tap_action:
  1230.                             action: call-service
  1231.                             service: script.turn_on
  1232.                             service_data:
  1233.                               entity_id: script.tand_og_se_netflix_fra_wii
  1234.                           card_mod:
  1235.                             style: |
  1236.                              ha-card {
  1237.                                 background: none;
  1238.                                 border: none;
  1239.                                 margin-top: -2275px;
  1240.                               }
  1241.                       - type: conditional
  1242.                         conditions:
  1243.                           - condition: state
  1244.                             entity: sensor.sidst_brugt_script
  1245.                             state: Tænd og se Netflix + Fra Wii
  1246.                         card:
  1247.                           type: custom:button-card
  1248.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1249.                           show_entity_picture: true
  1250.                           show_name: false
  1251.                           tap_action:
  1252.                             action: call-service
  1253.                             service: script.turn_on
  1254.                             service_data:
  1255.                               entity_id: script.tand_og_se_netflix_fra_wii
  1256.                           card_mod:
  1257.                             style: |
  1258.                              ha-card {
  1259.                                 background: none;
  1260.                                 border: none;
  1261.                                 margin-top: -2275px;
  1262.                               }
  1263.                       - type: conditional
  1264.                         conditions:
  1265.                           - condition: state
  1266.                             entity: sensor.sidst_brugt_script
  1267.                             state: Tænd og spil Spotify Fra Wii
  1268.                         card:
  1269.                           type: custom:button-card
  1270.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1271.                           show_entity_picture: true
  1272.                           show_name: false
  1273.                           tap_action:
  1274.                             action: call-service
  1275.                             service: script.turn_on
  1276.                             service_data:
  1277.                               entity_id: script.tand_og_se_netflix_fra_wii
  1278.                           card_mod:
  1279.                             style: |
  1280.                              ha-card {
  1281.                                 background: none;
  1282.                                 border: none;
  1283.                                 margin-top: -2275px;
  1284.                               }
  1285.                       - type: conditional
  1286.                         conditions:
  1287.                           - condition: state
  1288.                             entity: sensor.sidst_brugt_script
  1289.                             state: Spil wii
  1290.                         card:
  1291.                           type: custom:button-card
  1292.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1293.                           show_entity_picture: true
  1294.                           show_name: false
  1295.                           tap_action:
  1296.                             action: call-service
  1297.                             service: script.turn_on
  1298.                             service_data:
  1299.                               entity_id: script.tand_og_se_netflix_fra_wii
  1300.                           card_mod:
  1301.                             style: |
  1302.                              ha-card {
  1303.                                 background: none;
  1304.                                 border: none;
  1305.                                 margin-top: -2275px;
  1306.                               }
  1307.                       - type: conditional
  1308.                         conditions:
  1309.                           - condition: state
  1310.                             entity: sensor.sidst_brugt_script
  1311.                             state: Spil wii fra wii
  1312.                         card:
  1313.                           type: custom:button-card
  1314.                           entity_picture: /local/Dashboard/remote/Netflix2.png
  1315.                           show_entity_picture: true
  1316.                           show_name: false
  1317.                           tap_action:
  1318.                             action: call-service
  1319.                             service: script.turn_on
  1320.                             service_data:
  1321.                               entity_id: script.tand_og_se_netflix_fra_wii
  1322.                           card_mod:
  1323.                             style: |
  1324.                              ha-card {
  1325.                                 background: none;
  1326.                                 border: none;
  1327.                                 margin-top: -2275px;
  1328.                               }
  1329.                   - type: horizontal-stack
  1330.                     cards:
  1331.                       - type: conditional
  1332.                         conditions:
  1333.                           - condition: state
  1334.                             entity: sensor.sidst_brugt_script
  1335.                             state: Tænd og se DR
  1336.                         card:
  1337.                           type: custom:button-card
  1338.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1339.                           show_entity_picture: true
  1340.                           show_name: false
  1341.                           tap_action:
  1342.                             action: call-service
  1343.                             service: script.turn_on
  1344.                             service_data:
  1345.                               entity_id: script.tand_og_maximer_spotify
  1346.                           card_mod:
  1347.                             style: |
  1348.                              ha-card {
  1349.                                 background: none;
  1350.                                 border: none;
  1351.                                 margin-top: -2205px;
  1352.                               }
  1353.                       - type: conditional
  1354.                         conditions:
  1355.                           - condition: state
  1356.                             entity: sensor.sidst_brugt_script
  1357.                             state: Tænd og se Disney +
  1358.                         card:
  1359.                           type: custom:button-card
  1360.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1361.                           show_entity_picture: true
  1362.                           show_name: false
  1363.                           tap_action:
  1364.                             action: call-service
  1365.                             service: script.turn_on
  1366.                             service_data:
  1367.                               entity_id: script.tand_og_maximer_spotify
  1368.                           card_mod:
  1369.                             style: |
  1370.                              ha-card {
  1371.                                 background: none;
  1372.                                 border: none;
  1373.                                 margin-top: -2205px;
  1374.                               }
  1375.                       - type: conditional
  1376.                         conditions:
  1377.                           - condition: state
  1378.                             entity: sensor.sidst_brugt_script
  1379.                             state: Tænd og se Netflix
  1380.                         card:
  1381.                           type: custom:button-card
  1382.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1383.                           show_entity_picture: true
  1384.                           show_name: false
  1385.                           tap_action:
  1386.                             action: call-service
  1387.                             service: script.turn_on
  1388.                             service_data:
  1389.                               entity_id: script.tand_og_maximer_spotify
  1390.                           card_mod:
  1391.                             style: |
  1392.                              ha-card {
  1393.                                 background: none;
  1394.                                 border: none;
  1395.                                 margin-top: -2205px;
  1396.                               }
  1397.                       - type: conditional
  1398.                         conditions:
  1399.                           - condition: state
  1400.                             entity: sensor.sidst_brugt_script
  1401.                             state: Tænd og maximer Spotify
  1402.                         card:
  1403.                           type: custom:button-card
  1404.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1405.                           show_entity_picture: true
  1406.                           show_name: false
  1407.                           tap_action:
  1408.                             action: call-service
  1409.                             service: script.turn_on
  1410.                             service_data:
  1411.                               entity_id: script.tand_og_maximer_spotify
  1412.                           card_mod:
  1413.                             style: |
  1414.                              ha-card {
  1415.                                 background: none;
  1416.                                 border: none;
  1417.                                 margin-top: -2205px;
  1418.                               }
  1419.                       - type: conditional
  1420.                         conditions:
  1421.                           - condition: state
  1422.                             entity: sensor.sidst_brugt_script
  1423.                             state: Tænd og se DR Fra Wii
  1424.                         card:
  1425.                           type: custom:button-card
  1426.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1427.                           show_entity_picture: true
  1428.                           show_name: false
  1429.                           tap_action:
  1430.                             action: call-service
  1431.                             service: script.turn_on
  1432.                             service_data:
  1433.                               entity_id: script.tand_og_spil_spotify_fra_wii
  1434.                           card_mod:
  1435.                             style: |
  1436.                              ha-card {
  1437.                                 background: none;
  1438.                                 border: none;
  1439.                                 margin-top: -2205px;
  1440.                               }
  1441.                       - type: conditional
  1442.                         conditions:
  1443.                           - condition: state
  1444.                             entity: sensor.sidst_brugt_script
  1445.                             state: Tænd og se Disney + Fra Wii
  1446.                         card:
  1447.                           type: custom:button-card
  1448.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1449.                           show_entity_picture: true
  1450.                           show_name: false
  1451.                           tap_action:
  1452.                             action: call-service
  1453.                             service: script.turn_on
  1454.                             service_data:
  1455.                               entity_id: script.tand_og_spil_spotify_fra_wii
  1456.                           card_mod:
  1457.                             style: |
  1458.                              ha-card {
  1459.                                 background: none;
  1460.                                 border: none;
  1461.                                 margin-top: -2205px;
  1462.                               }
  1463.                       - type: conditional
  1464.                         conditions:
  1465.                           - condition: state
  1466.                             entity: sensor.sidst_brugt_script
  1467.                             state: Tænd og se Netflix + Fra Wii
  1468.                         card:
  1469.                           type: custom:button-card
  1470.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1471.                           show_entity_picture: true
  1472.                           show_name: false
  1473.                           tap_action:
  1474.                             action: call-service
  1475.                             service: script.turn_on
  1476.                             service_data:
  1477.                               entity_id: script.tand_og_spil_spotify_fra_wii
  1478.                           card_mod:
  1479.                             style: |
  1480.                              ha-card {
  1481.                                 background: none;
  1482.                                 border: none;
  1483.                                 margin-top: -2205px;
  1484.                               }
  1485.                       - type: conditional
  1486.                         conditions:
  1487.                           - condition: state
  1488.                             entity: sensor.sidst_brugt_script
  1489.                             state: Tænd og spil Spotify Fra Wii
  1490.                         card:
  1491.                           type: custom:button-card
  1492.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1493.                           show_entity_picture: true
  1494.                           show_name: false
  1495.                           tap_action:
  1496.                             action: call-service
  1497.                             service: script.turn_on
  1498.                             service_data:
  1499.                               entity_id: script.tand_og_spil_spotify_fra_wii
  1500.                           card_mod:
  1501.                             style: |
  1502.                              ha-card {
  1503.                                 background: none;
  1504.                                 border: none;
  1505.                                 margin-top: -2205px;
  1506.                               }
  1507.                       - type: conditional
  1508.                         conditions:
  1509.                           - condition: state
  1510.                             entity: sensor.sidst_brugt_script
  1511.                             state: Spil wii
  1512.                         card:
  1513.                           type: custom:button-card
  1514.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1515.                           show_entity_picture: true
  1516.                           show_name: false
  1517.                           tap_action:
  1518.                             action: call-service
  1519.                             service: script.turn_on
  1520.                             service_data:
  1521.                               entity_id: script.tand_og_spil_spotify_fra_wii
  1522.                           card_mod:
  1523.                             style: |
  1524.                              ha-card {
  1525.                                 background: none;
  1526.                                 border: none;
  1527.                                 margin-top: -2205px;
  1528.                               }
  1529.                       - type: conditional
  1530.                         conditions:
  1531.                           - condition: state
  1532.                             entity: sensor.sidst_brugt_script
  1533.                             state: Spil wii fra wii
  1534.                         card:
  1535.                           type: custom:button-card
  1536.                           entity_picture: /local/Dashboard/remote/Spotify.png
  1537.                           show_entity_picture: true
  1538.                           show_name: false
  1539.                           tap_action:
  1540.                             action: call-service
  1541.                             service: script.turn_on
  1542.                             service_data:
  1543.                               entity_id: script.tand_og_spil_spotify_fra_wii
  1544.                           card_mod:
  1545.                             style: |
  1546.                              ha-card {
  1547.                                 background: none;
  1548.                                 border: none;
  1549.                                 margin-top: -2205px;
  1550.                               }
  1551.                       - type: conditional
  1552.                         conditions:
  1553.                           - condition: state
  1554.                             entity: sensor.sidst_brugt_script
  1555.                             state: Tænd og se DR
  1556.                         card:
  1557.                           type: custom:button-card
  1558.                           entity_picture: /local/Dashboard/remote/wii.png
  1559.                           show_entity_picture: true
  1560.                           show_name: false
  1561.                           tap_action:
  1562.                             action: call-service
  1563.                             service: script.turn_on
  1564.                             service_data:
  1565.                               entity_id: script.spil_wii
  1566.                           card_mod:
  1567.                             style: |
  1568.                              ha-card {
  1569.                                 background: none;
  1570.                                 border: none;
  1571.                                 margin-top: -2205px;
  1572.                               }
  1573.                       - type: conditional
  1574.                         conditions:
  1575.                           - condition: state
  1576.                             entity: sensor.sidst_brugt_script
  1577.                             state: Tænd og se Disney +
  1578.                         card:
  1579.                           type: custom:button-card
  1580.                           entity_picture: /local/Dashboard/remote/wii.png
  1581.                           show_entity_picture: true
  1582.                           show_name: false
  1583.                           tap_action:
  1584.                             action: call-service
  1585.                             service: script.turn_on
  1586.                             service_data:
  1587.                               entity_id: script.spil_wii
  1588.                           card_mod:
  1589.                             style: |
  1590.                              ha-card {
  1591.                                 background: none;
  1592.                                 border: none;
  1593.                                 margin-top: -2205px;
  1594.                               }
  1595.                       - type: conditional
  1596.                         conditions:
  1597.                           - condition: state
  1598.                             entity: sensor.sidst_brugt_script
  1599.                             state: Tænd og se Netflix
  1600.                         card:
  1601.                           type: custom:button-card
  1602.                           entity_picture: /local/Dashboard/remote/wii.png
  1603.                           show_entity_picture: true
  1604.                           show_name: false
  1605.                           tap_action:
  1606.                             action: call-service
  1607.                             service: script.turn_on
  1608.                             service_data:
  1609.                               entity_id: script.spil_wii
  1610.                           card_mod:
  1611.                             style: |
  1612.                              ha-card {
  1613.                                 background: none;
  1614.                                 border: none;
  1615.                                 margin-top: -2205px;
  1616.                               }
  1617.                       - type: conditional
  1618.                         conditions:
  1619.                           - condition: state
  1620.                             entity: sensor.sidst_brugt_script
  1621.                             state: Tænd og maximer Spotify
  1622.                         card:
  1623.                           type: custom:button-card
  1624.                           entity_picture: /local/Dashboard/remote/wii.png
  1625.                           show_entity_picture: true
  1626.                           show_name: false
  1627.                           tap_action:
  1628.                             action: call-service
  1629.                             service: script.turn_on
  1630.                             service_data:
  1631.                               entity_id: script.spil_wii
  1632.                           card_mod:
  1633.                             style: |
  1634.                              ha-card {
  1635.                                 background: none;
  1636.                                 border: none;
  1637.                                 margin-top: -2205px;
  1638.                               }
  1639.                       - type: conditional
  1640.                         conditions:
  1641.                           - condition: state
  1642.                             entity: sensor.sidst_brugt_script
  1643.                             state: Tænd og se DR Fra Wii
  1644.                         card:
  1645.                           type: custom:button-card
  1646.                           entity_picture: /local/Dashboard/remote/wii.png
  1647.                           show_entity_picture: true
  1648.                           show_name: false
  1649.                           tap_action:
  1650.                             action: call-service
  1651.                             service: script.turn_on
  1652.                             service_data:
  1653.                               entity_id: script.spil_wii_fra_wii
  1654.                           card_mod:
  1655.                             style: |
  1656.                              ha-card {
  1657.                                 background: none;
  1658.                                 border: none;
  1659.                                 margin-top: -2205px;
  1660.                               }
  1661.                       - type: conditional
  1662.                         conditions:
  1663.                           - condition: state
  1664.                             entity: sensor.sidst_brugt_script
  1665.                             state: Tænd og se Disney + Fra Wii
  1666.                         card:
  1667.                           type: custom:button-card
  1668.                           entity_picture: /local/Dashboard/remote/wii.png
  1669.                           show_entity_picture: true
  1670.                           show_name: false
  1671.                           tap_action:
  1672.                             action: call-service
  1673.                             service: script.turn_on
  1674.                             service_data:
  1675.                               entity_id: script.spil_wii_fra_wii
  1676.                           card_mod:
  1677.                             style: |
  1678.                              ha-card {
  1679.                                 background: none;
  1680.                                 border: none;
  1681.                                 margin-top: -2205px;
  1682.                               }
  1683.                       - type: conditional
  1684.                         conditions:
  1685.                           - condition: state
  1686.                             entity: sensor.sidst_brugt_script
  1687.                             state: Tænd og se Netflix + Fra Wii
  1688.                         card:
  1689.                           type: custom:button-card
  1690.                           entity_picture: /local/Dashboard/remote/wii.png
  1691.                           show_entity_picture: true
  1692.                           show_name: false
  1693.                           tap_action:
  1694.                             action: call-service
  1695.                             service: script.turn_on
  1696.                             service_data:
  1697.                               entity_id: script.spil_wii_fra_wii
  1698.                           card_mod:
  1699.                             style: |
  1700.                              ha-card {
  1701.                                 background: none;
  1702.                                 border: none;
  1703.                                 margin-top: -2205px;
  1704.                               }
  1705.                       - type: conditional
  1706.                         conditions:
  1707.                           - condition: state
  1708.                             entity: sensor.sidst_brugt_script
  1709.                             state: Tænd og spil Spotify Fra Wii
  1710.                         card:
  1711.                           type: custom:button-card
  1712.                           entity_picture: /local/Dashboard/remote/wii.png
  1713.                           show_entity_picture: true
  1714.                           show_name: false
  1715.                           tap_action:
  1716.                             action: call-service
  1717.                             service: script.turn_on
  1718.                             service_data:
  1719.                               entity_id: script.spil_wii_fra_wii
  1720.                           card_mod:
  1721.                             style: |
  1722.                              ha-card {
  1723.                                 background: none;
  1724.                                 border: none;
  1725.                                 margin-top: -2205px;
  1726.                               }
  1727.                       - type: conditional
  1728.                         conditions:
  1729.                           - condition: state
  1730.                             entity: sensor.sidst_brugt_script
  1731.                             state: Spil wii
  1732.                         card:
  1733.                           type: custom:button-card
  1734.                           entity_picture: /local/Dashboard/remote/wii.png
  1735.                           show_entity_picture: true
  1736.                           show_name: false
  1737.                           tap_action:
  1738.                             action: call-service
  1739.                             service: script.turn_on
  1740.                             service_data:
  1741.                               entity_id: script.spil_wii_fra_wii
  1742.                           card_mod:
  1743.                             style: |
  1744.                              ha-card {
  1745.                                 background: none;
  1746.                                 border: none;
  1747.                                 margin-top: -2205px;
  1748.                               }
  1749.                       - type: conditional
  1750.                         conditions:
  1751.                           - condition: state
  1752.                             entity: sensor.sidst_brugt_script
  1753.                             state: Spil wii fra wii
  1754.                         card:
  1755.                           type: custom:button-card
  1756.                           entity_picture: /local/Dashboard/remote/wii.png
  1757.                           show_entity_picture: true
  1758.                           show_name: false
  1759.                           tap_action:
  1760.                             action: call-service
  1761.                             service: script.turn_on
  1762.                             service_data:
  1763.                               entity_id: script.spil_wii_fra_wii
  1764.                           card_mod:
  1765.                             style: |
  1766.                              ha-card {
  1767.                                 background: none;
  1768.                                 border: none;
  1769.                                 margin-top: -2205px;
  1770.                               }
  1771.                       - type: custom:button-card
  1772.                         entity_picture: /local/Dashboard/remote/Power1.png
  1773.                         show_entity_picture: true
  1774.                         show_name: false
  1775.                         entity: script.sluk_tv
  1776.                         card_mod:
  1777.                           style: |
  1778.                            ha-card {
  1779.                               background: none;
  1780.                               border: none;
  1781.                               margin-top: -2205px;
  1782.                             }
  1783.                   - type: horizontal-stack
  1784.                     cards:
  1785.                       - type: custom:button-card
  1786.                         entity_picture: /local/Dashboard/remote/Vol-.png
  1787.                         show_entity_picture: true
  1788.                         show_name: false
  1789.                         tap_action:
  1790.                           action: call-service
  1791.                           service: button.press
  1792.                           service_data:
  1793.                             entity_id: >-
  1794.                               button.ir_transmitter_receiver_harman_kardon_volume_down_ir_led_1
  1795.                         card_mod:
  1796.                           style: |
  1797.                            ha-card {
  1798.                               background: none;
  1799.                               border: none;
  1800.                               margin-top: -2135px;
  1801.                             }
  1802.                       - type: custom:button-card
  1803.                         entity_picture: /local/Dashboard/remote/Vol+.png
  1804.                         show_entity_picture: true
  1805.                         show_name: false
  1806.                         tap_action:
  1807.                           action: call-service
  1808.                           service: button.press
  1809.                           service_data:
  1810.                             entity_id: >-
  1811.                               button.ir_transmitter_receiver_harman_kardon_volume_up_ir_led_1
  1812.                         card_mod:
  1813.                           style: |
  1814.                            ha-card {
  1815.                               background: none;
  1816.                               border: none;
  1817.                               margin-top: -2135px;
  1818.                             }
  1819.                       - type: custom:button-card
  1820.                         entity_picture: /local/Dashboard/remote/mute.png
  1821.                         show_entity_picture: true
  1822.                         show_name: false
  1823.                         tap_action:
  1824.                           action: call-service
  1825.                           service: button.press
  1826.                           service_data:
  1827.                             entity_id: >-
  1828.                               button.ir_transmitter_receiver_harman_kardon_mute_ir_led_1
  1829.                         card_mod:
  1830.                           style: |
  1831.                            ha-card {
  1832.                               background: none;
  1833.                               border: none;
  1834.                               margin-top: -2135px;
  1835.                             }
  1836.                   - type: horizontal-stack
  1837.                     cards:
  1838.                       - type: custom:button-card
  1839.                         entity_picture: /local/Dashboard/remote/Input.png
  1840.                         show_entity_picture: true
  1841.                         show_name: false
  1842.                         tap_action:
  1843.                           action: call-service
  1844.                           service: button.press
  1845.                           service_data:
  1846.                             entity_id: >-
  1847.                               button.ir_transmitter_receiver_harman_kardon_input_ir_led_1
  1848.                         card_mod:
  1849.                           style: |
  1850.                            ha-card {
  1851.                               background: none;
  1852.                               border: none;
  1853.                               margin-top: -2065px;
  1854.                             }
  1855.                       - type: custom:button-card
  1856.                         entity_picture: /local/Dashboard/remote/Surround.png
  1857.                         show_entity_picture: true
  1858.                         show_name: false
  1859.                         tap_action:
  1860.                           action: call-service
  1861.                           service: button.press
  1862.                           service_data:
  1863.                             entity_id: >-
  1864.                               button.ir_transmitter_receiver_harman_kardon_surround_ir_led_1
  1865.                         card_mod:
  1866.                           style: |
  1867.                            ha-card {
  1868.                               background: none;
  1869.                               border: none;
  1870.                               margin-top: -2065px;
  1871.                             }
  1872.                       - type: picture
  1873.                         image: /local/Dashboard/1/blank.png
  1874.                         card_mod:
  1875.                           style: |
  1876.                            ha-card {
  1877.                               background: none;
  1878.                               border: none;
  1879.                               margin-top: -2065px;
  1880.                             }
  1881.             columns: 1
  1882.           - type: custom:week-planner-card
  1883.             calendars:
  1884.               - entity: calendar.t_xxxxxx_gmail_com
  1885.               - entity: calendar.famxxxxxxxxxxxxx_gmail_com
  1886.             days: "7"
  1887.             startingDay: monday
  1888.             startingDayOffset: 0
  1889.             hideWeekend: false
  1890.             noCardBackground: true
  1891.             compact: true
  1892.             weather:
  1893.               showCondition: true
  1894.               showTemperature: true
  1895.               showLowTemperature: false
  1896.               useTwiceDaily: false
  1897.             locale: da
  1898.             showLocation: false
  1899.             hidePastEvents: false
  1900.             hideDaysWithoutEvents: false
  1901.             hideTodayWithoutEvents: false
  1902.             combineSimilarEvents: false
  1903.             showLegend: false
  1904.             texts:
  1905.               today: null
  1906.               tomorrow: null
  1907.               noEvents: Ingen aftaler idag
  1908.               sunday: Søndag
  1909.               monday: Mandag
  1910.               tuesday: Tirsdag
  1911.               wednesday: Onsdag
  1912.               thursday: Torsdag
  1913.               friday: Fredag
  1914.               saturday: Lørdag
  1915.             dayFormat: >-
  1916.               '<span
  1917.                style="font size=1px; class="number">'cccc'</span> '
  1918.               '<span style="color:#dff705; font-size:17px; font-weight:bold;
  1919.               class="number">'d.'</span> ' '<span style="color:#dff705;
  1920.              font-size:12px; font-weight:bold;
  1921.  
  1922.              class="number">'LLLL'</span> '
  1923.            card_mod:
  1924.              style: |
  1925.                ha-card {
  1926.                  background: none;
  1927.                  border: none;
  1928.                  margin-top: -2275px;
  1929.                  overflow: hidden;
  1930.                  .container .date {
  1931.                    display: flex;
  1932.                    flex-direction: column;
  1933.                  }
  1934.                  .day.today {
  1935.                    .event.past {
  1936.                      color: green;
  1937.                      opacity: .3;
  1938.                      font-weight: thin;
  1939.                      font-size: 8px !important
  1940.                      font-weight: bold;
  1941.                    }
  1942.                    .event.ongoing {
  1943.                      color: #f50ced;
  1944.                      font-size: 17px !important;
  1945.                      font-weight: bold;
  1946.                    }
  1947.                    .event.future {
  1948.                      color: #f70505;
  1949.                      font-size: 10px !important;
  1950.                      font-weight: bold;
  1951.                    }
  1952.                  }
  1953.                  .day.future {
  1954.                    .event.future {
  1955.                      font-size: 15px !important;
  1956.                      color: #f70505;
  1957.                      font-weight: bold;
  1958.                    }
  1959.                    .event.fullday {
  1960.                      color: #05dff7;
  1961.                      font-size: 16px !important;
  1962.                      font-weight: bold;
  1963.                    }
  1964.                  }  
  1965.          - type: todo-list
  1966.            entity: todo.liste_tilhorende_thomas
  1967.            card_mod:
  1968.              style: |
  1969.                ha-card {
  1970.                  background: none;
  1971.                  border: none;
  1972.                  margin-top: -2275px;
  1973.                }
  1974. columns: 1
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement