Where are IQVIA sensors in recorder?

I persist things in a InfluxDB for 1year and have been reliable able to report on IQVIA allergy via Grafana and InfluxDB. In early October they disappeared. I see them in my History and report them elsewhere on Lovelace dashboards but the long term data has gone somewhere else…

They are classified as Index (ie: sensor.allergy_index_today shows in HIstory as Index). I can query them in InfluxDB as index and see the values thru Oct 8. I must have applied an upgrade around that time that changed where/how the IQVIA integration is naming/storing them but cannot find them in the DB.

I’ve looked at the code but can’t ferret out what or where they are stored.

Any thoughts on how to persist these sensors into the DB? Or find them?

OK Self answered. Figures take the time to document it and brain leads you down a new path…

For someone else that might stumble on this:

It changed from Index to State. I found it by playing in templates:

state: "{{ states.sensor.allergy_index_today }}"
state: “<template TemplateState(<state sensor.allergy_index_today=1.7; state_class=measurement, attribution=Data provided by IQVIA™, city=ACity, rating=Low, state=TX, zip_code=11111, allergen_genus_1=Ambrosia, allergen_name_1=Ragweed, allergen_type_1=Ragweed, allergen_genus_2=Juniperus, allergen_name_2=Juniper, allergen_type_2=Tree, friendly_name=Allergy Index: Today, icon=mdi:flower @ 2021-11-27T09:34:25.001085-06:00>)>”

state: "{{ states.sensor.allergy_index_today.state }}"
state: “1.7”