Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Traccar to Traccar Client #109217

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/traccar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Support for Traccar."""
"""Support for Traccar Client."""
from http import HTTPStatus

from aiohttp import web
Expand Down Expand Up @@ -56,7 +56,7 @@ def _id(value: str) -> str:


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:
Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/traccar/config_flow.py
Original file line number Diff line number Diff line change
@@ -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/"},
)
2 changes: 1 addition & 1 deletion homeassistant/components/traccar/const.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Constants for Traccar integration."""
"""Constants for Traccar client integration."""

DOMAIN = "traccar"

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/traccar/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"domain": "traccar",
"name": "Traccar",
"name": "Traccar Client",
"codeowners": ["@ludeeus"],
"config_flow": true,
"dependencies": ["webhook"],
Expand Down
6 changes: 3 additions & 3 deletions homeassistant/components/traccar/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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."
}
}
}
2 changes: 1 addition & 1 deletion homeassistant/generated/integrations.json
Original file line number Diff line number Diff line change
Expand Up @@ -6163,7 +6163,7 @@
]
},
"traccar": {
"name": "Traccar",
"name": "Traccar Client",
"integration_type": "hub",
"config_flow": true,
"iot_class": "local_polling"
Expand Down
Loading