Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # the following names can be used for "data" below: 'count', 'type', 'country', "region", "vintage", "varietal", "wine", "beginconsume", "endconsume","score","size","price"
- - title: Vin
- icon: mdi:glass-wine #mdi:bottle-wine
- panel: true
- cards:
- - type: vertical-stack
- cards:
- - type: markdown
- content: >
- <table width="100%">
- <tr><td><font size="5"><center>Vin, øl og spiritus. {{states("sensor.cellar_tracker_total_bottles")}} flasker ialt</center></font></td></tr>
- </table>
- - type: custom:layout-card
- layout_type: custom:grid-layout
- layout:
- grid-template-columns: auto 210px 210px 210px auto
- grid-template-rows: auto
- grid-template-gap: 25px
- max_cols: 5
- cards:
- - type: custom:gap-card
- - type: custom:vertical-stack-in-card
- #title: My Card
- cards:
- - type: picture
- image: /local/vin/rodvin.png
- tap_action:
- action: call-service
- service: script.wine_red
- - type: markdown
- content: >
- <table width="100%">
- <tr><td><font size="5"><center>{{states("sensor.antalrodvin")}} flasker</center></font></td></tr>
- </table>
- - type: custom:vertical-stack-in-card
- #title: My Card
- cards:
- - type: picture
- image: /local/vin/hvidvin.png
- tap_action:
- action: call-service
- service: script.wine_white
- - type: markdown
- content: >
- <table width="100%">
- <tr><td><font size="5"><center>{{states("sensor.antalhvidvin")}} flasker</center></font></td></tr>
- </table>
- - type: custom:vertical-stack-in-card
- #title: My Card
- cards:
- - type: picture
- image: /local/vin/rosevin.png
- tap_action:
- action: call-service
- service: script.wine_rose
- - type: markdown
- content: >
- <table width="100%">
- <tr><td><font size="5"><center>{{states("sensor.antalrosevin")}} flasker</center></font></td></tr>
- </table>
- - type: custom:gap-card
- - type: custom:gap-card
- - type: custom:vertical-stack-in-card
- #title: My Card
- cards:
- - type: picture
- image: /local/vin/mousserende.png
- tap_action:
- action: call-service
- service: script.wine_sparkling
- - type: markdown
- content: >
- <table width="100%">
- <tr><td><font size="5"><center>{{states("sensor.antalmousserende")}} flasker</center></font></td></tr>
- </table>
- - type: custom:vertical-stack-in-card
- #title: My Card
- cards:
- - type: picture
- image: /local/vin/dessertvin.png
- tap_action:
- action: call-service
- service: script.wine_dessert
- - type: markdown
- content: >
- <table width="100%">
- <tr><td><font size="5"><center>{{states("sensor.antaldessert")}} flasker</center></font></td></tr>
- </table>
- - type: custom:vertical-stack-in-card
- #title: My Card
- cards:
- - type: picture
- image: /local/vin/andet.png
- tap_action:
- action: call-service
- service: script.wine_other
- - type: markdown
- content: >
- <table width="100%">
- <tr><td><font size="5"><center>{{states("sensor.antalandre")}} flasker</center></font></td></tr>
- </table>
- - type: custom:gap-card
- #Types defined by CellarTracker are divided as follows:
- #Rød:
- #-Red
- #Hvid:
- #-White
- #Rosé:
- #-Rosé
- #Mousserende:
- #-Blue - Sparkling
- #-Orange - Sparkling
- #-Red - Sparkling
- #-White - Sparkling
- #-Rosé - Sparkling
- #Dessert:
- #-Red - Fortified
- #-Red - Sweet/Dessert
- #-Rosé - Fortified
- #-Rosé - Sweet/Dessert
- #-White - Sweet/Dessert
- #-White - Fortified
- #Andre:
- #-Beer
- #-Blue
- #-Fruit/Vegetable Wine
- #-Non-Alcoholic
- #-Orange
- #-Sake
- #-Spirits
Add Comment
Please, Sign In to add comment