From ed4e49a4c25dcb4a7bcdc34b56d501f85ed88605 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Tue, 21 Mar 2023 18:41:27 +0100 Subject: [PATCH] Add translations for Counter (#89989) --- homeassistant/components/counter/strings.json | 29 +++++++++++++++++++ homeassistant/generated/integrations.json | 2 +- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 homeassistant/components/counter/strings.json diff --git a/homeassistant/components/counter/strings.json b/homeassistant/components/counter/strings.json new file mode 100644 index 00000000000..fb7d34edf48 --- /dev/null +++ b/homeassistant/components/counter/strings.json @@ -0,0 +1,29 @@ +{ + "title": "Counter", + "entity_component": { + "_": { + "name": "[%key:component::counter::title%]", + "state_attributes": { + "editable": { + "name": "UI-managed", + "state": { + "true": "[%key:common::state::yes%]", + "false": "[%key:common::state::no%]" + } + }, + "initial": { + "name": "Initial value" + }, + "maximum": { + "name": "Maximum" + }, + "minimum": { + "name": "Minimum" + }, + "step": { + "name": "Step" + } + } + } + } +} diff --git a/homeassistant/generated/integrations.json b/homeassistant/generated/integrations.json index 8dbdd5a7851..efd1899c5b0 100644 --- a/homeassistant/generated/integrations.json +++ b/homeassistant/generated/integrations.json @@ -6490,7 +6490,6 @@ }, "helper": { "counter": { - "name": "Counter", "integration_type": "helper", "config_flow": false }, @@ -6573,6 +6572,7 @@ "alert", "aurora", "cert_expiry", + "counter", "cpuspeed", "demo", "derivative",