Skip to content

Commit 2d16e0d

Browse files
authored
Merge pull request #5 from smoochy/languages
Added English language for readme and interface and German language for interface
2 parents a321276 + ac45b98 commit 2d16e0d

5 files changed

Lines changed: 129 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1+
12
# Hydrao pour Home Assistant
3+
4+
[Click here for English version](./README_US.md)
5+
26
Intégration pour remonter les informations de ces pommeaux de douches Hydrao dans Home Assistant.
37

48
## Installation

README_US.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Hydrao for Home Assistant
2+
3+
[Cliquez ici pour le texte français](./README.md)
4+
5+
Integration to report information from the Hydrao shower heads in Home Assistant.
6+
7+
## Installation
8+
9+
Use [hacs](https://hacs.xyz/). [![Open your Home Assistant instance and open the repository in the Home Assistant Community Store.](https://my.home-assistant.io/badges/hacs_repository.svg)](https://my.home-assistant.io/redirect/hacs_repository/?owner=sebcaps&repository=hydrao&category=integration)
10+
11+
## Configuration
12+
13+
### Get an API Key
14+
15+
- Request an API key from Hydrao using their [support form](https://www.hydrao.com/fr/besoin-d-aide-/sav).
16+
17+
### Configuration in Home Assistant
18+
19+
The configuration is done via the user interface.
20+
21+
First you need to enter the API [access credentials](#get-an-api-key) .
22+
23+
![image info](img/authent.png)
24+
25+
If having an installation with several shower heads, a selection of the device(s) is possible.
26+
27+
> **Note**
28+
> The data is delivered from Hydrao servers via their API. This integration does not
29+
> connect to the shower head and does not replace the mobile phone or the Hydrao gateway
30+
31+
### Data
32+
33+
The displayed data is:
34+
35+
- Average volume in L
36+
- Total volume in L
37+
- Number of showers
38+
- Trend in %
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"config": {
3+
"abort": {
4+
"already_configured": "Nur eine einzige Konfiguration ist erlaubt"
5+
},
6+
"error": {
7+
"auth": "Token konnte nicht abgerufen werden. Überprüfe deine Anmeldedaten",
8+
"devices": "Geräte können nicht abgerufen werden"
9+
},
10+
"step": {
11+
"user": {
12+
"data": {
13+
"email": "Benutzername (normalerweise Emailadresse)",
14+
"password": "Passwort",
15+
"api_key": "API Schlüssel"
16+
},
17+
"description": "Gib deine Hydrao Anmeldedaten ein",
18+
"title": "Authentifizierung"
19+
},
20+
"devices": {
21+
"data": {
22+
"devices": ""
23+
},
24+
"description": "Gerät(e) auswählen",
25+
"title": "Geräteauswahl"
26+
}
27+
}
28+
},
29+
"options": {
30+
"step": {
31+
"init": {
32+
"title": "Geräteauswahl",
33+
"description": "Gerät(e) auswählen",
34+
"data": {
35+
"devices": ""
36+
}
37+
}
38+
},
39+
"error": {
40+
"auth": "Token konnte nicht abgerufen werden. Überprüfe deine Anmeldedaten"
41+
}
42+
}
43+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"config": {
3+
"abort": {
4+
"already_configured": "Only a single configuration is allowed"
5+
},
6+
"error": {
7+
"auth": "Unable to retrieve token. Check your login details",
8+
"devices": "Unable to retrieve devices"
9+
},
10+
"step": {
11+
"user": {
12+
"data": {
13+
"email": "User name (normally email address)",
14+
"password": "Password",
15+
"api_key": "API Key"
16+
},
17+
"description": "Enter your Hydrao login credentials",
18+
"title": "Authentication"
19+
},
20+
"devices": {
21+
"data": {
22+
"devices": ""
23+
},
24+
"description": "Select device(s)",
25+
"title": "Device"
26+
}
27+
}
28+
},
29+
"options": {
30+
"step": {
31+
"init": {
32+
"title": "Device selection",
33+
"description": "Select device(s)",
34+
"data": {
35+
"devices": ""
36+
}
37+
}
38+
},
39+
"error": {
40+
"auth": "Unable to retrieve token. Check your login details"
41+
}
42+
}
43+
}

hacs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Hydrao",
3-
"country": "fr",
3+
"country": ["FR", "US", "DE"],
44
"homeassistant": "2023.9.3",
55
"render_readme": true
66
}

0 commit comments

Comments
 (0)