Additional cleanup of IQVIA integration (#23403)
* Additional cleanup of IQVIA integration * Task * Moved import * Fixed exception * Member comments (round 1) * Member comments (round 2) * Member comments
This commit is contained in:
parent
606dbb85d2
commit
8fe95f4bab
3 changed files with 115 additions and 122 deletions
|
@ -22,24 +22,15 @@ TYPE_ASTHMA_YESTERDAY = 'asthma_index_yesterday'
|
|||
TYPE_DISEASE_FORECAST = 'disease_average_forecasted'
|
||||
|
||||
SENSORS = {
|
||||
TYPE_ALLERGY_FORECAST: (
|
||||
'ForecastSensor', 'Allergy Index: Forecasted Average', 'mdi:flower'),
|
||||
TYPE_ALLERGY_HISTORIC: (
|
||||
'HistoricalSensor', 'Allergy Index: Historical Average', 'mdi:flower'),
|
||||
TYPE_ALLERGY_TODAY: ('IndexSensor', 'Allergy Index: Today', 'mdi:flower'),
|
||||
TYPE_ALLERGY_TOMORROW: (
|
||||
'IndexSensor', 'Allergy Index: Tomorrow', 'mdi:flower'),
|
||||
TYPE_ALLERGY_YESTERDAY: (
|
||||
'IndexSensor', 'Allergy Index: Yesterday', 'mdi:flower'),
|
||||
TYPE_ASTHMA_TODAY: ('IndexSensor', 'Asthma Index: Today', 'mdi:flower'),
|
||||
TYPE_ASTHMA_TOMORROW: (
|
||||
'IndexSensor', 'Asthma Index: Tomorrow', 'mdi:flower'),
|
||||
TYPE_ASTHMA_YESTERDAY: (
|
||||
'IndexSensor', 'Asthma Index: Yesterday', 'mdi:flower'),
|
||||
TYPE_ASTHMA_FORECAST: (
|
||||
'ForecastSensor', 'Asthma Index: Forecasted Average', 'mdi:flower'),
|
||||
TYPE_ASTHMA_HISTORIC: (
|
||||
'HistoricalSensor', 'Asthma Index: Historical Average', 'mdi:flower'),
|
||||
TYPE_DISEASE_FORECAST: (
|
||||
'ForecastSensor', 'Cold & Flu: Forecasted Average', 'mdi:snowflake')
|
||||
TYPE_ALLERGY_FORECAST: ('Allergy Index: Forecasted Average', 'mdi:flower'),
|
||||
TYPE_ALLERGY_HISTORIC: ('Allergy Index: Historical Average', 'mdi:flower'),
|
||||
TYPE_ALLERGY_TODAY: ('Allergy Index: Today', 'mdi:flower'),
|
||||
TYPE_ALLERGY_TOMORROW: ('Allergy Index: Tomorrow', 'mdi:flower'),
|
||||
TYPE_ALLERGY_YESTERDAY: ('Allergy Index: Yesterday', 'mdi:flower'),
|
||||
TYPE_ASTHMA_TODAY: ('Asthma Index: Today', 'mdi:flower'),
|
||||
TYPE_ASTHMA_TOMORROW: ('Asthma Index: Tomorrow', 'mdi:flower'),
|
||||
TYPE_ASTHMA_YESTERDAY: ('Asthma Index: Yesterday', 'mdi:flower'),
|
||||
TYPE_ASTHMA_FORECAST: ('Asthma Index: Forecasted Average', 'mdi:flower'),
|
||||
TYPE_ASTHMA_HISTORIC: ('Asthma Index: Historical Average', 'mdi:flower'),
|
||||
TYPE_DISEASE_FORECAST: ('Cold & Flu: Forecasted Average', 'mdi:snowflake')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue