diff --git a/source/_integrations/zamg.markdown b/source/_integrations/zamg.markdown index 3e6d08dc5e1..27aa4ce9941 100644 --- a/source/_integrations/zamg.markdown +++ b/source/_integrations/zamg.markdown @@ -7,6 +7,7 @@ ha_category: ha_release: 0.35 ha_iot_class: Cloud Polling ha_domain: zamg +ha_config_flow: true ha_platforms: - sensor - weather @@ -17,111 +18,32 @@ The `zamg` platform uses meteorological details published by the Austrian weathe Only observations for capital cities are publicly available. You can check the list of stations in [CSV format](https://www.zamg.ac.at/ogd). +{% include integrations/config_flow.md %} + There is currently support for the following device types within Home Assistant: -- **[Weather](#weather)** - Easier to configure but less customizable and doesn't have support for conditions which is a key feature of the `weather` platforms. +- **Weather** - It displays the current temperature, humidity, pressure and wind speed, but it doesn't have support for conditions which is a key feature of the `weather` platforms. - **[Sensor](#sensor)** -## Weather - -To add ZAMG weather platform to your installation, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -weather: - - platform: zamg -``` - -{% configuration %} -station_id: - description: The ID number for a supported ZAMG station. - required: false - type: string -name: - description: A name for the weather platform. - required: false - type: string -latitude: - description: "Latitude coordinate to monitor weather of (required if **longitude** is specified)." - required: false - type: float - default: "Defaults to coordinates defined in your `configuration.yaml` file." -longitude: - description: "Longitude coordinate to monitor weather of (required if **latitude** is specified)." - required: false - type: float - default: "Defaults to coordinates defined in your `configuration.yaml` file." -{% endconfiguration %} - ## Sensor -To add ZAMG sensor platform to your installation, add the following to your `configuration.yaml` file: +This integration provides the following sensors: -```yaml -# Example configuration.yaml entry -sensor: - - platform: zamg -``` - -{% configuration %} -station_id: - required: false - description: The ID number for a supported ZAMG station. - type: string -name: - required: false - description: Additional name for the sensors. Defaults to platform name. - default: zamg - type: string -latitude: - required: false - description: "Latitude coordinate to monitor weather of (required if **longitude** is specified)." - default: "Defaults to coordinates defined in your `configuration.yaml` file." - type: float -longitude: - required: false - description: "Longitude coordinate to monitor weather of (required if **latitude** is specified)." - default: "Defaults to coordinates defined in your `configuration.yaml` file." - type: float -monitored_conditions: - required: false - description: Conditions to display in the frontend. - type: list - default: temperature - keys: - pressure: - description: Pressure at station level - pressure_sealevel: - description: Pressure at sea Level - humidity: - description: Humidity - wind_speed: - description: Wind speed - wind_bearing: - description: Wind bearing - wind_max_speed: - description: Top wind speed - wind_max_bearing: - description: Top wind bearing - sun_last_hour: - description: Sun last hour percentage - temperature: - description: Temperature - precipitation: - description: Precipitation - dewpoint: - description: Dew point -{% endconfiguration %} - -A full configuration example: - -```yaml -# Example configuration.yaml entry -sensor: - - platform: zamg - station_id: 11035 - name: Wien - monitored_conditions: - - temperature - - humidity -``` +|Name|Description| +|----|-----------| +|Temperature|Temperature in °C| +|Humidity|Humidity in %| +|Dew Point|Dew point in °C| +|Pressure|Station pressure in hPa| +|Pressure at Sea Level|Sea level pressure in hPa| +|Wind Speed|Wind speed in km/h| +|Top Wind Speed|Max wind speed in km/h| +|Wind Bearing|Wind bearing in °| +|Top Wind Bearing|Wind bearing at max speed in °| +|Sun Last Hour|Sunshine in the last hour in %| +|Precipitation|Precipitation in 1/m²| +|Station Name|Station name| +|Station Elevation|The station elevation in m| +|Update Date|Update date of last read data| +|Update Time|Update time of last read data| +|Station id|The station id|