diff --git a/README.md b/README.md index 28320d9..2b6c4b9 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ key | optional | type | default | description -- | -- | -- | -- | -- `module` | False | string | notifreeze | The module name of the app. `class` | False | string | Notifreeze | The name of the Class. -`class` | True | string | en_US | Language! Available `en_US`, `de_DE` - contribute your language! 🤓 check below the code in [`notifreeze.py`](apps/notifreeze/notifreeze.py)! +`class` | True | string | en_US | Language! Available `en_US`, `de_DE`, `ru_RU` - contribute your language! 🤓 check below the code in [`notifreeze.py`](apps/notifreeze/notifreeze.py)! `notify_service` | False | string | | Home Assistant notification service `always_notify` | True | bool | false | Send notifications even when the indoor temperature is unchanged (compared to before the door/windows was open) `outdoor` | False | string | | Sensor for outside temperature 🥵 🥶 diff --git a/apps/notifreeze/notifreeze.py b/apps/notifreeze/notifreeze.py index a9eee05..e09c46d 100644 --- a/apps/notifreeze/notifreeze.py +++ b/apps/notifreeze/notifreeze.py @@ -39,6 +39,10 @@ "since": "{room_name} {entity_name} offen seit {open_since}: {initial}°C", "change": "{room_name} {entity_name} offen seit {open_since}: {initial}°C → {indoor}°C ({indoor_difference}°C)", }, + "ru_RU": { + "since": "{room_name} {entity_name} открыто с {open_since}: {initial}°C", + "change": "{room_name} {entity_name} открыто с {open_since}: {initial}°C → {indoor}°C ({indoor_difference}°C)", + }, } # helper