2019-04-25 03:09:01 +00:00
|
|
|
"""Define IQVIA constants."""
|
2019-07-31 19:25:30 +00:00
|
|
|
DOMAIN = "iqvia"
|
2019-04-25 03:09:01 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
CONF_ZIP_CODE = "zip_code"
|
2019-05-09 16:11:51 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
DATA_CLIENT = "client"
|
|
|
|
DATA_LISTENER = "listener"
|
2019-04-25 03:09:01 +00:00
|
|
|
|
2020-02-03 19:23:06 +00:00
|
|
|
TOPIC_DATA_UPDATE = f"{DOMAIN}_data_update"
|
2019-04-25 03:09:01 +00:00
|
|
|
|
2019-07-31 19:25:30 +00:00
|
|
|
TYPE_ALLERGY_FORECAST = "allergy_average_forecasted"
|
|
|
|
TYPE_ALLERGY_INDEX = "allergy_index"
|
|
|
|
TYPE_ALLERGY_OUTLOOK = "allergy_outlook"
|
|
|
|
TYPE_ALLERGY_TODAY = "allergy_index_today"
|
|
|
|
TYPE_ALLERGY_TOMORROW = "allergy_index_tomorrow"
|
|
|
|
TYPE_ASTHMA_FORECAST = "asthma_average_forecasted"
|
|
|
|
TYPE_ASTHMA_INDEX = "asthma_index"
|
|
|
|
TYPE_ASTHMA_TODAY = "asthma_index_today"
|
|
|
|
TYPE_ASTHMA_TOMORROW = "asthma_index_tomorrow"
|
|
|
|
TYPE_DISEASE_FORECAST = "disease_average_forecasted"
|
|
|
|
TYPE_DISEASE_INDEX = "disease_index"
|
|
|
|
TYPE_DISEASE_TODAY = "disease_index_today"
|
2019-04-25 03:09:01 +00:00
|
|
|
|
|
|
|
SENSORS = {
|
2019-07-31 19:25:30 +00:00
|
|
|
TYPE_ALLERGY_FORECAST: ("Allergy Index: Forecasted Average", "mdi:flower"),
|
|
|
|
TYPE_ALLERGY_TODAY: ("Allergy Index: Today", "mdi:flower"),
|
|
|
|
TYPE_ALLERGY_TOMORROW: ("Allergy Index: Tomorrow", "mdi:flower"),
|
2020-03-17 05:58:50 +00:00
|
|
|
TYPE_ASTHMA_FORECAST: ("Asthma Index: Forecasted Average", "mdi:flower"),
|
2019-07-31 19:25:30 +00:00
|
|
|
TYPE_ASTHMA_TODAY: ("Asthma Index: Today", "mdi:flower"),
|
|
|
|
TYPE_ASTHMA_TOMORROW: ("Asthma Index: Tomorrow", "mdi:flower"),
|
|
|
|
TYPE_DISEASE_FORECAST: ("Cold & Flu: Forecasted Average", "mdi:snowflake"),
|
|
|
|
TYPE_DISEASE_TODAY: ("Cold & Flu Index: Today", "mdi:pill"),
|
2019-04-25 03:09:01 +00:00
|
|
|
}
|