Advertisement
Hoekeren75

Pollental - Lovelacecard

Mar 24th, 2022
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.95 KB | None | 0 0
  1. type: vertical-stack
  2. cards:
  3.   - type: conditional
  4.     conditions:
  5.       - entity: sensor.pollen_viborg_forecast
  6.         state_not: '-'
  7.     card:
  8.       type: markdown
  9.       content: '{{states.sensor.pollen_viborg_forecast.state}}'
  10.       title: Pollenvarsel
  11.   - type: horizontal-stack
  12.     cards:
  13.       - type: conditional
  14.         conditions:
  15.           - entity: sensor.pollen_viborg_graes
  16.             state_not: '-'
  17.         card:
  18.           type: gauge
  19.           entity: sensor.pollen_viborg_graes
  20.           min: 0
  21.           max: 350
  22.           name: Græs
  23.           severity:
  24.             green: 0
  25.             yellow: 10
  26.             red: 47
  27.           needle: true
  28.       - type: conditional
  29.         conditions:
  30.           - entity: sensor.pollen_viborg_bynke
  31.             state_not: '-'
  32.         card:
  33.           type: gauge
  34.           entity: sensor.pollen_viborg_bynke
  35.           min: 0
  36.           max: 100
  37.           name: Bynke
  38.           severity:
  39.             green: 0
  40.             yellow: 10
  41.             red: 50
  42.           needle: true
  43.       - type: conditional
  44.         conditions:
  45.           - entity: sensor.pollen_viborg_elm
  46.             state_not: '-'
  47.         card:
  48.           type: gauge
  49.           entity: sensor.pollen_viborg_elm
  50.           min: 0
  51.           max: 165
  52.           name: Elm
  53.           needle: true
  54.           severity:
  55.             green: 0
  56.             yellow: 10
  57.             red: 50
  58.       - type: conditional
  59.         conditions:
  60.           - entity: sensor.pollen_viborg_birk
  61.             state_not: '-'
  62.         card:
  63.           type: gauge
  64.           entity: sensor.pollen_viborg_birk
  65.           min: 0
  66.           max: 2600
  67.           name: Birk
  68.           needle: true
  69.           severity:
  70.             green: 0
  71.             yellow: 30
  72.             red: 100
  73.       - type: conditional
  74.         conditions:
  75.           - entity: sensor.pollen_viborg_hassel
  76.             state_not: '-'
  77.         card:
  78.           type: gauge
  79.           entity: sensor.pollen_viborg_hassel
  80.           min: 0
  81.           max: 150
  82.           name: Hassel
  83.           needle: true
  84.           severity:
  85.             green: 0
  86.             yellow: 5
  87.             red: 15
  88.       - type: conditional
  89.         conditions:
  90.           - entity: sensor.pollen_viborg_el
  91.             state_not: '-'
  92.         card:
  93.           type: gauge
  94.           entity: sensor.pollen_viborg_el
  95.           min: 0
  96.           max: 420
  97.           name: El
  98.           needle: true
  99.           severity:
  100.             green: 0
  101.             yellow: 10
  102.             red: 50
  103.   - type: conditional
  104.     conditions:
  105.       - entity: sensor.pollen_kobenhavn_alternaria
  106.         state_not: '-'
  107.     card:
  108.       type: entity
  109.       entity: sensor.pollen_kobenhavn_alternaria
  110.       name: Alternaria
  111.   - type: conditional
  112.     conditions:
  113.       - entity: sensor.pollen_kobenhavn_cladosporium
  114.         state_not: '-'
  115.     card:
  116.       type: entity
  117.       entity: sensor.pollen_kobenhavn_cladosporium
  118.       name: Cladosporium
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement