Migrate air_quality platform to sensor for GIOS integration (#18343)

This commit is contained in:
Maciej Bieniek 2021-07-05 09:57:29 +02:00 committed by GitHub
parent f3f1cab042
commit 7905de5711
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,20 +11,13 @@ ha_codeowners:
ha_domain: gios
ha_quality_scale: platinum
ha_platforms:
- air_quality
- sensor
---
The `gios` integration uses the [GIOŚ](http://powietrze.gios.gov.pl/pjp/current) web service as a source for air quality data for your location.
## Setup
To obtain `station_id` of the measuring station, go to [GIOŚ](http://powietrze.gios.gov.pl/pjp/current) page, select the measuring station on the map and click the "More Info" link. The address of the opened page will look like this: `http://powietrze.gios.gov.pl/pjp/current/station_details/chart/291` and `291` will be `station_id` of measuring station.
To obtain ID of the measuring station, go to [GIOŚ](http://powietrze.gios.gov.pl/pjp/current) page, select the measuring station on the map and click the "More Info" link. The address of the opened page will look like this: `http://powietrze.gios.gov.pl/pjp/current/station_details/chart/291` and `291` will be ID of the measuring station.
{% include integrations/config_flow.md %}
{% configuration_basic %}
name:
description: Manually specify Name.
station_id:
description: Specify ID of the measuring station.
{% endconfiguration_basic %}