From a45d26c2bd1de72ebb08a4fabba8cf92421c73ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Wed, 31 Jan 2024 17:23:03 +0100 Subject: [PATCH] Rename Traccar to Traccar Client (#109217) --- homeassistant/components/traccar/__init__.py | 4 ++-- homeassistant/components/traccar/config_flow.py | 4 ++-- homeassistant/components/traccar/const.py | 2 +- homeassistant/components/traccar/manifest.json | 2 +- homeassistant/components/traccar/strings.json | 6 +++--- homeassistant/generated/integrations.json | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/homeassistant/components/traccar/__init__.py b/homeassistant/components/traccar/__init__.py index 5dffd629e80..492f609907e 100644 --- a/homeassistant/components/traccar/__init__.py +++ b/homeassistant/components/traccar/__init__.py @@ -1,4 +1,4 @@ -"""Support for Traccar.""" +"""Support for Traccar Client.""" from http import HTTPStatus from aiohttp import web @@ -56,7 +56,7 @@ WEBHOOK_SCHEMA = vol.Schema( async def handle_webhook(hass, webhook_id, request): - """Handle incoming webhook with Traccar request.""" + """Handle incoming webhook with Traccar Client request.""" try: data = WEBHOOK_SCHEMA(dict(request.query)) except vol.MultipleInvalid as error: diff --git a/homeassistant/components/traccar/config_flow.py b/homeassistant/components/traccar/config_flow.py index 3702316ffb9..3d62d0a842d 100644 --- a/homeassistant/components/traccar/config_flow.py +++ b/homeassistant/components/traccar/config_flow.py @@ -1,10 +1,10 @@ -"""Config flow for Traccar.""" +"""Config flow for Traccar Client.""" from homeassistant.helpers import config_entry_flow from .const import DOMAIN config_entry_flow.register_webhook_flow( DOMAIN, - "Traccar Webhook", + "Traccar Client Webhook", {"docs_url": "https://www.home-assistant.io/integrations/traccar/"}, ) diff --git a/homeassistant/components/traccar/const.py b/homeassistant/components/traccar/const.py index 06dd368b6a3..df4bfa8ec99 100644 --- a/homeassistant/components/traccar/const.py +++ b/homeassistant/components/traccar/const.py @@ -1,4 +1,4 @@ -"""Constants for Traccar integration.""" +"""Constants for Traccar client integration.""" DOMAIN = "traccar" diff --git a/homeassistant/components/traccar/manifest.json b/homeassistant/components/traccar/manifest.json index 403ba3987ab..978a0b2f507 100644 --- a/homeassistant/components/traccar/manifest.json +++ b/homeassistant/components/traccar/manifest.json @@ -1,6 +1,6 @@ { "domain": "traccar", - "name": "Traccar", + "name": "Traccar Client", "codeowners": ["@ludeeus"], "config_flow": true, "dependencies": ["webhook"], diff --git a/homeassistant/components/traccar/strings.json b/homeassistant/components/traccar/strings.json index 62bcf608852..804a26e3b0a 100644 --- a/homeassistant/components/traccar/strings.json +++ b/homeassistant/components/traccar/strings.json @@ -2,8 +2,8 @@ "config": { "step": { "user": { - "title": "Set up Traccar", - "description": "Are you sure you want to set up Traccar?" + "title": "Set up Traccar Client", + "description": "Are you sure you want to set up Traccar Client?" } }, "abort": { @@ -12,7 +12,7 @@ "webhook_not_internet_accessible": "[%key:common::config_flow::abort::webhook_not_internet_accessible%]" }, "create_entry": { - "default": "To send events to Home Assistant, you will need to set up the webhook feature in Traccar.\n\nUse the following URL: `{webhook_url}`\n\nSee [the documentation]({docs_url}) for further details." + "default": "To send events to Home Assistant, you will need to set up the webhook feature in Traccar Client.\n\nUse the following URL: `{webhook_url}`\n\nSee [the documentation]({docs_url}) for further details." } } } diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index 071642500ba..96245342fa3 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -6163,7 +6163,7 @@ ] }, "traccar": { - "name": "Traccar", + "name": "Traccar Client", "integration_type": "hub", "config_flow": true, "iot_class": "local_polling"