schmiddydel

HA Benzinpreisanzeige

Aug 31st, 2024
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 21.89 KB | Source Code | 0 0
  1. type: custom:stack-in-card
  2. card_mod:
  3.   style: |
  4.    ha-card {
  5.       --ha-card-background: rgb(30, 42, 64);
  6.       #color: white;
  7.       #text-transform: uppercase;
  8.       #font-size: 125%;
  9.       #font-weight: 100;
  10.       #letter-spacing: 10px;
  11.       background-color: '#242e42';
  12.       border-radius: 2%;
  13.       #opacity: 0.7;
  14.       #text-shadow: 0px 0px 5px black;
  15.       #text-transform: capitalize
  16.     }
  17. style:
  18.   .: |
  19.    ha-card {
  20.       padding-left: 10px;
  21.       padding-bottom: 10px;
  22.       padding-top: 10px;
  23.       background-color: #242e42;
  24.     }
  25. cards:
  26.   - type: vertical-stack
  27.     cards:
  28.       - type: horizontal-stack
  29.         cards:
  30.           - type: markdown
  31.             content: ' '
  32.             style:
  33.               .: |
  34.                ha-card {
  35.                   background-color: transparent !important;
  36.                   box-shadow: none !important;
  37.                 }
  38.           - type: horizontal-stack
  39.             cards:
  40.               - type: picture
  41.                 image: /local/Image/Tanke/Marco.jpg
  42.                 style:
  43.                   .: |
  44.                    ha-card {
  45.                       background-color: transparent !important;
  46.                       box-shadow: none !important;
  47.                       margin-bottom: 5px;
  48.                       margin-left: 0px;
  49.                       margin-right: 0px;
  50.                     }
  51.                     ha-card img{
  52.                       height: 43px;
  53.                       width: 70px;
  54.                       margin: auto;
  55.                     }
  56.               - type: picture
  57.                 image: /local/Image/Tanke/Danny.jpg
  58.                 style:
  59.                   .: |
  60.                    ha-card {
  61.                       padding: auto;
  62.                       background-color: transparent !important;
  63.                       box-shadow: none !important;
  64.                       margin-bottom: 5px;
  65.                       margin-left: 0px;
  66.                       margin-right: 0px;
  67.                     }
  68.                     ha-card img{
  69.                       height: 43px;
  70.                       width: 70px;
  71.                       margin: auto;
  72.                     }
  73.       - type: horizontal-stack
  74.         cards:
  75.           - type: markdown
  76.             content: |
  77.              <table>
  78.                 <tr>
  79.                   <td width="50px;">    
  80.                     <img src = '/local/Image/Tanke/BTF.jpg' align='top' height='40'></img>
  81.                   </td>
  82.                   <td>
  83.                     BTF | Hasporter Damm 159
  84.                   </td>
  85.                 </tr>
  86.               </table>
  87.             style:
  88.               .: |
  89.                ha-card {
  90.                   max-height:51px;
  91.                  
  92.                   padding-top: 0px;
  93.                   background-color: transparent !important;
  94.                   box-shadow: none !important;
  95.                   }
  96.                 ha-markdown {
  97.                   font-size: 90%;
  98.                   font-weight: 100;
  99.                   color: white;
  100.                 }
  101.                 .no-header {
  102.                   padding: 0px !important;
  103.                 }
  104.           - type: horizontal-stack
  105.             cards:
  106.               - type: custom:badge-card
  107.                 badges:
  108.                   - entity: sensor.bft_hasporter_damm_159_diesel
  109.                     name: ' '
  110.                     style: |
  111.                      :host {
  112.                         --label-badge-text-color: white;
  113.                         --label-badge-red: #069B;
  114.                         #--label-badge-background-color: gray;
  115.                         --ha-label-badge-label-color: white;
  116.                       }
  117.               - type: custom:badge-card
  118.                 badges:
  119.                   - entity: sensor.bft_hasporter_damm_159_super_e10
  120.                     name: ' '
  121.                     style: |
  122.                      :host {
  123.                         --label-badge-text-color: white;
  124.                         --label-badge-red: gray;
  125.                         #--label-badge-background-color: red;
  126.                         --ha-label-badge-label-color: white;
  127.                       }
  128.       - type: horizontal-stack
  129.         cards:
  130.           - type: markdown
  131.             content: |
  132.              <table>
  133.                 <tr>
  134.                   <td width="50px;">    
  135.                     <img src = '/local/Image/Tanke/JET.jpg' align='top' height='40'></img>
  136.                   </td>
  137.                   <td>
  138.                     JET | Stedinger Str. 163
  139.                   </td>
  140.                 </tr>
  141.               </table>
  142.             style:
  143.               .: |
  144.                ha-card {
  145.                   max-height:51px;
  146.                  
  147.                   padding-top: 0px;
  148.                   background-color: transparent !important;
  149.                   box-shadow: none !important;
  150.                   }
  151.                 ha-markdown {
  152.                   font-size: 90%;
  153.                   font-weight: 100;
  154.                   color: white;
  155.                 }
  156.                 .no-header {
  157.                   padding: 0px !important;
  158.                 }
  159.           - type: horizontal-stack
  160.             cards:
  161.               - type: custom:badge-card
  162.                 badges:
  163.                   - entity: sensor.jet_stedinger_str_163_diesel
  164.                     name: ' '
  165.                     style: |
  166.                      :host {
  167.                         --label-badge-text-color: white;
  168.                         --label-badge-red: #069B;
  169.                         #--label-badge-background-color: gray;
  170.                         --ha-label-badge-label-color: white;
  171.                       }
  172.               - type: custom:badge-card
  173.                 badges:
  174.                   - entity: sensor.jet_stedinger_str_163_super_e10
  175.                     name: ' '
  176.                     style: |
  177.                      :host {
  178.                         --label-badge-text-color: white;
  179.                         #--label-badge-text-weight: bold;
  180.                         --label-badge-red: gray;
  181.                         #--label-badge-background-color: red;
  182.                         --ha-label-badge-label-color: white;
  183.                       }
  184.       - type: horizontal-stack
  185.         cards:
  186.           - type: markdown
  187.             content: |
  188.              <table>
  189.                 <tr>
  190.                   <td width="50px;">    
  191.                     <img src = '/local/Image/Tanke/ARAL.jpg' align='top' height='40'></img>
  192.                   </td>
  193.                   <td>
  194.                     Aral | Stedinger Str. 174
  195.                   </td>
  196.                 </tr>
  197.               </table>
  198.             style:
  199.               .: |
  200.                ha-card {
  201.                   max-height:51px;
  202.                  
  203.                   padding-top: 0px;
  204.                   background-color: transparent !important;
  205.                   box-shadow: none !important;
  206.                   }
  207.                 ha-markdown {
  208.                   font-size: 85%;
  209.                   font-weight: 100;
  210.                   color: white;
  211.                 }
  212.                 .no-header {
  213.                   padding: 0px !important;
  214.                 }
  215.           - type: horizontal-stack
  216.             cards:
  217.               - type: custom:badge-card
  218.                 badges:
  219.                   - entity: sensor.aral_stedinger_strasse_174_diesel
  220.                     name: ' '
  221.                     style: |
  222.                      :host {
  223.                         --label-badge-text-color: white;
  224.                         --label-badge-red: #069B;
  225.                         #--label-badge-background-color: gray;
  226.                         --ha-label-badge-label-color: white;
  227.                       }
  228.               - type: custom:badge-card
  229.                 badges:
  230.                   - entity: sensor.aral_stedinger_strasse_174_super_e10
  231.                     name: ' '
  232.                     style: |
  233.                      :host {
  234.                         --label-badge-text-color: white;
  235.                         --label-badge-red: gray;
  236.                         #--label-badge-background-color: red;
  237.                         --ha-label-badge-label-color: white;
  238.                       }
  239.       - type: horizontal-stack
  240.         cards:
  241.           - type: markdown
  242.             content: |
  243.              <table>
  244.                 <tr>
  245.                   <td width="50px;">    
  246.                     <img src = '/local/Image/Tanke/ESSO.jpg' align='top' height='40'></img>
  247.                   </td>
  248.                   <td>
  249.                     ESSO | Nutzhorner Landstr. 32
  250.                   </td>
  251.                 </tr>
  252.               </table>
  253.             style:
  254.               .: |
  255.                ha-card {
  256.                   max-height:51px;
  257.                  
  258.                   padding-top: 0px;
  259.                   background-color: transparent !important;
  260.                   box-shadow: none !important;
  261.                   }
  262.                 ha-markdown {
  263.                   font-size: 85%;
  264.                   font-weight: 100;
  265.                   color: white;
  266.                 }
  267.                 .no-header {
  268.                   padding: 0px !important;
  269.                 }
  270.           - type: horizontal-stack
  271.             cards:
  272.               - type: custom:badge-card
  273.                 badges:
  274.                   - entity: sensor.esso_nutzhorner_landstr_32_diesel
  275.                     name: ' '
  276.                     style: |
  277.                      :host {
  278.                         --label-badge-text-color: white;
  279.                         --label-badge-red: #069B;
  280.                         #--label-badge-background-color: gray;
  281.                         --ha-label-badge-label-color: white;
  282.                       }
  283.               - type: custom:badge-card
  284.                 badges:
  285.                   - entity: sensor.esso_nutzhorner_landstr_32_super_e10
  286.                     name: ' '
  287.                     style: |
  288.                      :host {
  289.                         --label-badge-text-color: white;
  290.                         --label-badge-red: gray;
  291.                         #--label-badge-background-color: red;
  292.                         --ha-label-badge-label-color: white;
  293.                       }
  294.       - type: horizontal-stack
  295.         cards:
  296.           - type: markdown
  297.             content: |
  298.              <table>
  299.                 <tr>
  300.                   <td width="50px;">    
  301.                     <img src = '/local/Image/Tanke/HOYER.jpg' align='top' height='40'></img>
  302.                   </td>
  303.                   <td>
  304.                     Hoyer | Arthur-Fitger-Str. 2
  305.                   </td>
  306.                 </tr>
  307.               </table>
  308.             style:
  309.               .: |
  310.                ha-card {
  311.                   max-height:51px;
  312.                  
  313.                   padding-top: 0px;
  314.                   background-color: transparent !important;
  315.                   box-shadow: none !important;
  316.                   }
  317.                 ha-markdown {
  318.                   font-size: 85%;
  319.                   font-weight: 100;
  320.                   color: white;
  321.                 }
  322.                 .no-header {
  323.                   padding: 0px !important;
  324.                 }
  325.           - type: horizontal-stack
  326.             cards:
  327.               - type: custom:badge-card
  328.                 badges:
  329.                   - entity: sensor.hoyer_arthur_fitger_str_2_diesel
  330.                     name: ' '
  331.                     style: |
  332.                      :host {
  333.                         --label-badge-text-color: white;
  334.                         --label-badge-red: #069B;
  335.                         #--label-badge-background-color: gray;
  336.                         --ha-label-badge-label-color: white;
  337.                       }
  338.               - type: custom:badge-card
  339.                 badges:
  340.                   - entity: sensor.hoyer_arthur_fitger_str_2_super_e10
  341.                     name: ' '
  342.                     style: |
  343.                      :host {
  344.                         --label-badge-text-color: white;
  345.                         --label-badge-red: gray;
  346.                         #--label-badge-background-color: red;
  347.                         --ha-label-badge-label-color: white;
  348.                       }
  349.       - type: horizontal-stack
  350.         cards:
  351.           - type: markdown
  352.             content: |
  353.              <table>
  354.                 <tr>
  355.                   <td width="50px;">    
  356.                     <img src = '/local/Image/Tanke/SB.jpg' align='top' height='40'></img>
  357.                   </td>
  358.                   <td>
  359.                     SB | Stedinger Str. 95
  360.                   </td>
  361.                 </tr>
  362.               </table>
  363.             style:
  364.               .: |
  365.                ha-card {
  366.                   max-height:51px;
  367.                  
  368.                   padding-top: 0px;
  369.                   background-color: transparent !important;
  370.                   box-shadow: none !important;
  371.                   }
  372.                 ha-markdown {
  373.                   font-size: 85%;
  374.                   font-weight: 100;
  375.                   color: white;
  376.                 }
  377.                 .no-header {
  378.                   padding: 0px !important;
  379.                 }
  380.           - type: horizontal-stack
  381.             cards:
  382.               - type: custom:badge-card
  383.                 badges:
  384.                   - entity: sensor.sb_stedingerstr_95_diesel
  385.                     name: ' '
  386.                     style: |
  387.                      :host {
  388.                         --label-badge-text-color: white;
  389.                         --label-badge-red: #069B;
  390.                         #--label-badge-background-color: gray;
  391.                         --ha-label-badge-label-color: white;
  392.                       }
  393.               - type: custom:badge-card
  394.                 badges:
  395.                   - entity: sensor.sb_stedingerstr_95_super_e10
  396.                     name: ' '
  397.                     style: |
  398.                      :host {
  399.                         --label-badge-text-color: white;
  400.                         --label-badge-red: gray;
  401.                         #--label-badge-background-color: red;
  402.                         --ha-label-badge-label-color: white;
  403.                       }
  404.       - type: horizontal-stack
  405.         cards:
  406.           - type: markdown
  407.             content: |
  408.              <table>
  409.                 <tr>
  410.                   <td width="50px;">    
  411.                     <img src = '/local/Image/Tanke/SHELL.jpg' align='top' height='40'></img>
  412.                   </td>
  413.                   <td>
  414.                     Shell | Syker Str. 226
  415.                   </td>
  416.                 </tr>
  417.               </table>
  418.             style:
  419.               .: |
  420.                ha-card {
  421.                   max-height:51px;
  422.                  
  423.                   padding-top: 0px;
  424.                   background-color: transparent !important;
  425.                   box-shadow: none !important;
  426.                   }
  427.                 ha-markdown {
  428.                   font-size: 85%;
  429.                   font-weight: 100;
  430.                   color: white;
  431.                 }
  432.                 .no-header {
  433.                   padding: 0px !important;
  434.                 }
  435.           - type: horizontal-stack
  436.             cards:
  437.               - type: custom:badge-card
  438.                 badges:
  439.                   - entity: sensor.shell_syker_str_226_diesel
  440.                     name: ' '
  441.                     style: |
  442.                      :host {
  443.                         --label-badge-text-color: white;
  444.                         --label-badge-red: #069B;
  445.                         #--label-badge-background-color: gray;
  446.                         --ha-label-badge-label-color: white;
  447.                       }
  448.               - type: custom:badge-card
  449.                 badges:
  450.                   - entity: sensor.shell_syker_str_226_super_e10
  451.                     name: ' '
  452.                     style: |
  453.                      :host {
  454.                         --label-badge-text-color: white;
  455.                         --label-badge-red: gray;
  456.                         #--label-badge-background-color: red;
  457.                         --ha-label-badge-label-color: white;
  458.                       }
  459.       - type: horizontal-stack
  460.         cards:
  461.           - type: markdown
  462.             content: |
  463.              <table>
  464.                 <tr>
  465.                   <td width="50px;">    
  466.                     <img src = '/local/Image/Tanke/STAR.jpg' align='top' height='40'></img>
  467.                   </td>
  468.                   <td>
  469.                     STAR | Oldenburger Str. 100
  470.                   </td>
  471.                 </tr>
  472.               </table>
  473.             style:
  474.               .: |
  475.                ha-card {
  476.                   max-height:51px;
  477.                  
  478.                   padding-top: 0px;
  479.                   background-color: transparent !important;
  480.                   box-shadow: none !important;
  481.                   }
  482.                 ha-markdown {
  483.                   font-size: 85%;
  484.                   font-weight: 100;
  485.                   color: white;
  486.                 }
  487.                 .no-header {
  488.                   padding: 0px !important;
  489.                 }
  490.           - type: horizontal-stack
  491.             cards:
  492.               - type: custom:badge-card
  493.                 badges:
  494.                   - entity: sensor.star_oldenburger_strasse_100_diesel
  495.                     name: ' '
  496.                     style: |
  497.                      :host {
  498.                         --label-badge-text-color: white;
  499.                         --label-badge-red: #069B;
  500.                         #--label-badge-background-color: gray;
  501.                         --ha-label-badge-label-color: white;
  502.                       }
  503.               - type: custom:badge-card
  504.                 badges:
  505.                   - entity: sensor.star_oldenburger_strasse_100_super_e10
  506.                     name: ' '
  507.                     style: |
  508.                      :host {
  509.                         --label-badge-text-color: white;
  510.                         --label-badge-red: gray;
  511.                         #--label-badge-background-color: red;
  512.                         --ha-label-badge-label-color: white;
  513.                       }
  514.       - type: horizontal-stack
  515.         cards:
  516.           - type: markdown
  517.             content: |
  518.              <table>
  519.                 <tr>
  520.                   <td width="50px;">    
  521.                     <img src = '/local/Image/Tanke/TOTAL.jpg' align='top' height='40'></img>
  522.                   </td>
  523.                   <td>
  524.                     Total | Syker Str. 74
  525.                   </td>
  526.                 </tr>
  527.               </table>
  528.             style:
  529.               .: |
  530.                ha-card {
  531.                   max-height:51px;
  532.                  
  533.                   padding-top: 0px;
  534.                   background-color: transparent !important;
  535.                   box-shadow: none !important;
  536.                   }
  537.                 ha-markdown {
  538.                   font-size: 85%;
  539.                   font-weight: 100;
  540.                   color: white;
  541.                 }
  542.                 .no-header {
  543.                   padding: 0px !important;
  544.                 }
  545.           - type: horizontal-stack
  546.             cards:
  547.               - type: custom:badge-card
  548.                 badges:
  549.                   - entity: sensor.totalenergies_sykerstr_74_diesel
  550.                     name: ' '
  551.                     style: |
  552.                      :host {
  553.                         --label-badge-text-color: white;
  554.                         --label-badge-red: #069B;
  555.                         #--label-badge-background-color: gray;
  556.                         --ha-label-badge-label-color: white;
  557.                       }
  558.               - type: custom:badge-card
  559.                 badges:
  560.                   - entity: sensor.totalenergies_sykerstr_74_super_e10
  561.                     name: ' '
  562.                     style: |
  563.                      :host {
  564.                         --label-badge-text-color: white;
  565.                         --label-badge-red: gray;
  566.                         #--label-badge-background-color: red;
  567.                         --ha-label-badge-label-color: white;
  568.                       }
  569.       - type: horizontal-stack
  570.         cards:
  571.           - type: markdown
  572.             content: |
  573.              <table>
  574.                 <tr>
  575.                   <td width="50px;">    
  576.                     <img src = '/local/Image/Tanke/WESTFALEN.jpg' align='top' height='40'></img>
  577.                   </td>
  578.                   <td>
  579.                     Westfalen | Oldenburger Str. 87
  580.                   </td>
  581.                 </tr>
  582.               </table>
  583.             style:
  584.               .: |
  585.                ha-card {
  586.                   max-height:51px;
  587.                  
  588.                   padding-top: 0px;
  589.                   background-color: transparent !important;
  590.                   box-shadow: none !important;
  591.                   }
  592.                 ha-markdown {
  593.                   font-size: 85%;
  594.                   font-weight: 100;
  595.                   color: white;
  596.                 }
  597.                 .no-header {
  598.                   padding: 0px !important;
  599.                 }
  600.           - type: horizontal-stack
  601.             cards:
  602.               - type: custom:badge-card
  603.                 badges:
  604.                   - entity: sensor.westfalen_oldenburger_str_87_diesel
  605.                     name: ' '
  606.                     style: |
  607.                      :host {
  608.                         --label-badge-text-color: white;
  609.                         --label-badge-red: #069B;
  610.                         #--label-badge-background-color: gray;
  611.                         --ha-label-badge-label-color: white;
  612.                       }
  613.               - type: custom:badge-card
  614.                 badges:
  615.                   - entity: sensor.westfalen_oldenburger_str_87_super_e10
  616.                     name: ' '
  617.                     style: |
  618.                      :host {
  619.                         --label-badge-text-color: white;
  620.                         --label-badge-red: gray;
  621.                         #--label-badge-background-color: red;
  622.                         --ha-label-badge-label-color: white;
  623.                       }
Add Comment
Please, Sign In to add comment