home-assistant.io/source/_integrations/flunearyou.markdown
2020-04-29 16:41:20 +02:00

1.9 KiB

title, description, ha_category, ha_release, ha_iot_class, ha_codeowners, ha_domain, ha_config_flow
title description ha_category ha_release ha_iot_class ha_codeowners ha_domain ha_config_flow
Flu Near You Instructions on how to use Flu Near You data within Home Assistant
Health
0.83 Cloud Polling
@bachya
flunearyou true

The flunearyou sensor platform allows users in the United States and its territories to get information regarding reported flu symptoms from Flu Near You. The platform can return user-reported information as well reports from the Center for Disease Control (CDC).

Configuration

To enable the platform, add the following lines to your configuration.yaml file:

sensor:
  - platform: flunearyou

{% configuration %} monitored_conditions: description: The sensor categories to display. required: false type: list default: ['cdc_report', 'user_report'] latitude: description: The latitude of the location to monitor. required: false type: float default: The latitude defined under the homeassistant key in configuration.yaml. longitude: description: The longitude of the location to monitor. required: false type: float default: The longitude defined under the homeassistant key in configuration.yaml. {% endconfiguration %}

Sensor Types

User Report

  • Number of reported cases of Avian Flu symptoms
  • Number of reported cases of Dengue symptoms
  • Number of reported cases of Flu symptoms
  • Number of reported cases of Flu-like symptoms
  • Number of reported cases of Leptospirosis symptoms
  • Total number of reported cases with symptoms
  • Number of reported cases with no symptoms

CDC Report

  • Current CDC level for the state
  • Current CDC "Level 2" for the state