I am trying to combine multiple sensors into a single sensor to provide a forecast of Pollen counts. I have sensors for multiple days from day 0 to day 4, ive tried combining them into a single template and using different graph cards but nothing has worked. any suggestions would be appreciated to make this work.
template:
- sensor:
- name: "combined_ragweed_pollen_forecast"
unique_id: "combined_ragweed_pollen_forecast"
unit_of_measurement: "pollen count"
state: "{{ states('sensor.home_ragweed_pollen_day_0') }}"
attributes:
day_0: "{{ states('sensor.home_ragweed_pollen_day_0') }}"
day_1: "{{ states('sensor.home_ragweed_pollen_day_1') }}"
day_2: "{{ states('sensor.home_ragweed_pollen_day_2') }}"
day_3: "{{ states('sensor.home_ragweed_pollen_day_3') }}"
2 posts - 2 participants