Advertisement
314ma

Twojapogoda - pylenie

Mar 21st, 2023 (edited)
1,005
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.93 KB | None | 1 0
  1. rest:
  2.   - resource: https://data.twojapogoda.pl/forecasts/themed/allergies/daily/2333/1
  3.     sensor:
  4.       - unique_id: twojapogoda_trawy
  5.         name: Pylenie - trawy
  6.         value_template: "{{ value_json['forecasts'][0]['allergens'][0]}}"
  7.         icon: mdi:grass
  8.         unit_of_measurement: ''
  9.       - unique_id: twojapogoda_bylica
  10.         name: Pylenie - bylica
  11.         value_template: "{{ value_json['forecasts'][0]['allergens'][1]}}"
  12.         icon: mdi:sprout
  13.         unit_of_measurement: ''
  14.       - unique_id: twojapogoda_brzoza
  15.         name: Pylenie - brzoza
  16.         value_template: "{{ value_json['forecasts'][0]['allergens'][2]}}"
  17.         icon: mdi:tree
  18.         unit_of_measurement: ''
  19.       - unique_id: twojapogoda_alternaria
  20.         name: Pylenie - alternaria
  21.         value_template: "{{ value_json['forecasts'][0]['allergens'][3]}}"
  22.         icon: mdi:mushroom-outline
  23.         unit_of_measurement: ''
  24.       - unique_id: twojapogoda_olsza
  25.         name: Pylenie - olsza
  26.         value_template: "{{ value_json['forecasts'][0]['allergens'][4]}}"
  27.         icon: mdi:tree
  28.         unit_of_measurement: ''
  29.       - unique_id: twojapogoda_dab
  30.         name: Pylenie - dąb
  31.         value_template: "{{ value_json['forecasts'][0]['allergens'][5]}}"
  32.         icon: mdi:tree
  33.         unit_of_measurement: ''
  34.       - unique_id: twojapogoda_komosa
  35.         name: Pylenie - komosa
  36.         value_template: "{{ value_json['forecasts'][0]['allergens'][6]}}"
  37.         icon: mdi:sprout
  38.         unit_of_measurement: ''
  39.       - unique_id: twojapogoda_cladosporium
  40.         name: Pylenie - cladosporium
  41.         value_template: "{{ value_json['forecasts'][0]['allergens'][7]}}"
  42.         icon: mdi:mushroom-outline
  43.         unit_of_measurement: ''
  44.       - unique_id: twojapogoda_babka
  45.         name: Pylenie - babka
  46.         value_template: "{{ value_json['forecasts'][0]['allergens'][8]}}"
  47.         icon: mdi:sprout
  48.         unit_of_measurement: ''
  49.       - unique_id: twojapogoda_szczaw
  50.         name: Pylenie - szczaw
  51.         value_template: "{{ value_json['forecasts'][0]['allergens'][9]}}"
  52.         icon: mdi:sprout
  53.         unit_of_measurement: ''
  54.       - unique_id: twojapogoda_pokrzywa
  55.         name: Pylenie - pokrzywa
  56.         value_template: "{{ value_json['forecasts'][0]['allergens'][10]}}"
  57.         icon: mdi:sprout
  58.         unit_of_measurement: ''
  59.       - unique_id: twojapogoda_leszczyna
  60.         name: Pylenie - leszczyna
  61.         value_template: "{{ value_json['forecasts'][0]['allergens'][11]}}"
  62.         icon: mdi:tree
  63.         unit_of_measurement: ''
  64.       - unique_id: twojapogoda_wierzba
  65.         name: Pylenie - wierzba
  66.         value_template: "{{ value_json['forecasts'][0]['allergens'][12]}}"
  67.         icon: mdi:tree
  68.         unit_of_measurement: ''
  69.       - unique_id: twojapogoda_topola
  70.         name: Pylenie - topola
  71.         value_template: "{{ value_json['forecasts'][0]['allergens'][13]}}"
  72.         icon: mdi:tree
  73.         unit_of_measurement: ''
  74.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement