From 3302a3acf6d993989b55414ae8857feeda9af812 Mon Sep 17 00:00:00 2001 From: Whitney Young Date: Thu, 11 Jul 2024 15:50:03 -0700 Subject: [PATCH] Add translation files --- .../watersmart/translations/en.json | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 custom_components/watersmart/translations/en.json diff --git a/custom_components/watersmart/translations/en.json b/custom_components/watersmart/translations/en.json new file mode 100644 index 0000000..1b6f37f --- /dev/null +++ b/custom_components/watersmart/translations/en.json @@ -0,0 +1,33 @@ +{ + "config": { + "abort": { + "already_configured": "Device is already configured" + }, + "error": { + "cannot_connect": "Failed to connect", + "invalid_auth": "Invalid authentication", + "unknown": "Unexpected error" + }, + "step": { + "user": { + "data": { + "host": "Host", + "password": "Password", + "username": "Username" + }, + "description": "Enter your host and credentials. The host is the subdomain for accessing Watersmart, i.e. `bendoregon` for https://bendoregon.watersmart.com/.", + "title": "Subdomain & Authentication" + } + } + }, + "entity": { + "sensor": { + "gallons_for_most_recent_full_day": { + "name": "Most recent full day usage" + }, + "gallons_for_most_recent_hour": { + "name": "Most recent hour usage" + } + } + } +} \ No newline at end of file