diff --git a/custom_components/retry/__init__.py b/custom_components/retry/__init__.py index 252a609..2384fe5 100644 --- a/custom_components/retry/__init__.py +++ b/custom_components/retry/__init__.py @@ -357,7 +357,7 @@ def _action_str(self) -> str: return self._action_str_value def _compose_action_str(self) -> str: - """Return a string with the service call parameters.""" + """Return a string with the action parameters.""" service_call = ( f"{self._params.retry_data[ATTR_DOMAIN]}." f"{self._params.retry_data[ATTR_SERVICE]}" diff --git a/custom_components/retry/icons.json b/custom_components/retry/icons.json index 9c3fffa..c511d9a 100644 --- a/custom_components/retry/icons.json +++ b/custom_components/retry/icons.json @@ -1,6 +1,7 @@ { "services": { "call": "mdi:clipboard-check-outline", + "action": "mdi:clipboard-check-outline", "actions": "mdi:clipboard-check-multiple-outline" } } \ No newline at end of file diff --git a/custom_components/retry/translations/he.json b/custom_components/retry/translations/he.json index 1550bda..e54b2e3 100644 --- a/custom_components/retry/translations/he.json +++ b/custom_components/retry/translations/he.json @@ -22,7 +22,7 @@ "issues": { "failure": { "title": "\u05db\u05d9\u05e9\u05dc\u05d5\u05df\u0020\u05d1\u05e7\u05e8\u05d9\u05d0\u05d4\u0020\u05dc\u05e9\u05d9\u05e8\u05d5\u05ea", - "description": "`{service}` \u05e0\u05db\u05e9\u05dc\u0020\u05d0\u05d7\u05e8\u05d9 {retries} \u05e0\u05d9\u05e1\u05d9\u05d5\u05e0\u05d5\u05ea. \u05d1\u05d3\u05d5\u05e7\u0020\u05d0\u05ea\u0020\u05d4\u05d9\u05d5\u05de\u05df\u0020\u05dc\u05de\u05d9\u05d3\u05e2\u0020\u05e0\u05d5\u05e1\u05e3\u002e" + "description": "`{action}` \u05e0\u05db\u05e9\u05dc\u0020\u05d0\u05d7\u05e8\u05d9 {retries} \u05e0\u05d9\u05e1\u05d9\u05d5\u05e0\u05d5\u05ea. \u05d1\u05d3\u05d5\u05e7\u0020\u05d0\u05ea\u0020\u05d4\u05d9\u05d5\u05de\u05df\u0020\u05dc\u05de\u05d9\u05d3\u05e2\u0020\u05e0\u05d5\u05e1\u05e3\u002e" } }, "services": { diff --git a/custom_components/retry/translations/sk.json b/custom_components/retry/translations/sk.json index 8fcd0f4..29a9ac6 100644 --- a/custom_components/retry/translations/sk.json +++ b/custom_components/retry/translations/sk.json @@ -22,7 +22,7 @@ "issues": { "failure": { "title": "Zlyhanie servisného volania", - "description": "`{service}` zlyhané po {retries} pokusoch. Ďalšie informácie nájdete v denníku." + "description": "`{action}` zlyhané po {retries} pokusoch. Ďalšie informácie nájdete v denníku." } }, "services": {