diff --git a/homeassistant/components/zamg/const.py b/homeassistant/components/zamg/const.py index e1733600f59..ea1e91d6149 100644 --- a/homeassistant/components/zamg/const.py +++ b/homeassistant/components/zamg/const.py @@ -14,13 +14,11 @@ LOGGER = logging.getLogger(__package__) ATTR_STATION = "station" ATTR_UPDATED = "updated" -ATTRIBUTION = "Data provided by ZAMG" +ATTRIBUTION = "Data provided by GeoSphere Austria" CONF_STATION_ID = "station_id" -DEFAULT_NAME = "zamg" - -MANUFACTURER_URL = "https://www.zamg.ac.at" +MANUFACTURER_URL = "https://www.geosphere.at" MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=10) VIENNA_TIME_ZONE = dt_util.get_time_zone("Europe/Vienna") diff --git a/homeassistant/components/zamg/manifest.json b/homeassistant/components/zamg/manifest.json index f83e38002b8..e7fe584c767 100644 --- a/homeassistant/components/zamg/manifest.json +++ b/homeassistant/components/zamg/manifest.json @@ -1,6 +1,6 @@ { "domain": "zamg", - "name": "Zentralanstalt f\u00fcr Meteorologie und Geodynamik (ZAMG)", + "name": "GeoSphere Austria", "codeowners": ["@killer0071234"], "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/zamg", diff --git a/homeassistant/components/zamg/sensor.py b/homeassistant/components/zamg/sensor.py index 31275dd908d..344ba560f6a 100644 --- a/homeassistant/components/zamg/sensor.py +++ b/homeassistant/components/zamg/sensor.py @@ -202,7 +202,7 @@ class ZamgSensor(CoordinatorEntity, SensorEntity): identifiers={(DOMAIN, station_id)}, manufacturer=ATTRIBUTION, configuration_url=MANUFACTURER_URL, - name=coordinator.name, + name=name, ) coordinator.api_fields = API_FIELDS diff --git a/homeassistant/components/zamg/strings.json b/homeassistant/components/zamg/strings.json index a92e7aa605e..6ffc489bdf5 100644 --- a/homeassistant/components/zamg/strings.json +++ b/homeassistant/components/zamg/strings.json @@ -3,7 +3,7 @@ "flow_title": "{name}", "step": { "user": { - "description": "Set up ZAMG to integrate with Home Assistant.", + "description": "Set up GeoSphere Austria to integrate with Home Assistant.", "data": { "station_id": "Station ID (Defaults to nearest station)" } @@ -11,7 +11,7 @@ }, "error": { "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", - "station_not_found": "Station ID not found at zamg" + "station_not_found": "Station ID not found at GeoSphere Austria" }, "abort": { "already_configured": "[%key:common::config_flow::abort::already_configured_device%]", diff --git a/homeassistant/components/zamg/weather.py b/homeassistant/components/zamg/weather.py index 98e08106dca..e855bde29d8 100644 --- a/homeassistant/components/zamg/weather.py +++ b/homeassistant/components/zamg/weather.py @@ -43,14 +43,14 @@ class ZamgWeather(CoordinatorEntity, WeatherEntity): """Initialise the platform with a data instance and station name.""" super().__init__(coordinator) self._attr_unique_id = station_id - self._attr_name = f"ZAMG {name}" + self._attr_name = name self.station_id = f"{station_id}" self._attr_device_info = DeviceInfo( entry_type=DeviceEntryType.SERVICE, identifiers={(DOMAIN, station_id)}, manufacturer=ATTRIBUTION, configuration_url=MANUFACTURER_URL, - name=coordinator.name, + name=name, ) @property diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index 1c7348f629c..49c97002fc2 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -6717,7 +6717,7 @@ "iot_class": "local_polling" }, "zamg": { - "name": "Zentralanstalt f\u00fcr Meteorologie und Geodynamik (ZAMG)", + "name": "GeoSphere Austria", "integration_type": "hub", "config_flow": true, "iot_class": "cloud_polling"