Commit Graph

19 Commits

Author SHA1 Message Date
Mümin Köykıran
551b5cc938 feat: add Turkish language support (#1468)
Some checks failed
Tests / check-rule-format (push) Failing after 2s
Validate / validate-hassfest (push) Failing after 2s
Validate / validate-hacs (push) Failing after 7s
Validate / validate-lint (push) Failing after -1s
Validate / validate-setup (push) Failing after 1s
* feat: add Turkish language support

Added comprehensive Turkish (tr) language translations for Xiaomi Home Integration.

Changes:
- Added custom_components/xiaomi_home/translations/tr.json with complete UI translations
- Added custom_components/xiaomi_home/miot/i18n/tr.json with MIoT-specific translations
- All placeholders, markdown formatting, and special characters preserved
- Validated against English source files for structural integrity

Technical details:
- Followed Home Assistant language code standards (ISO 639-1: tr)
- Maintained formal Turkish (siz form) for professional user experience
- Preserved all technical terms (OAuth2, MIoT-Spec-V2, MQTT, etc.)
- JSON structure validated and all keys match English version

* feat: add Turkish translations to bool_trans.yaml

Added Turkish boolean value translations for:
- default: true/false values
- contact_state: contact/no contact states
- motion_state: motion detected states
- open_close: open/close states
- yes_no: yes/no values

* docs: update README to reflect Turkish language support

Updated multiple language support section:
- Changed from 8 to 13 supported languages
- Added Turkish (tr) to the language code list
- Updated language list to include all currently supported languages:
  Italian, Dutch, Portuguese, Brazilian Portuguese, and Turkish

* fix: correct language dictionary sorting and update documentation

- Sort INTEGRATION_LANGUAGES dictionary alphabetically (tr after ru)
- Update CLAUDE.md to reflect 13 supported languages instead of 8
- Fixes test_miot_data_sort() test requirement
- No functional changes, documentation and code style improvements only

* docs: update Chinese README to reflect 13 supported languages

- Changed from 8 to 13 languages in Chinese documentation
- Added Turkish, Italian, Dutch, Portuguese, Brazilian Portuguese
- Updated language code list to include: it, nl, pt, pt-BR, tr
- Changed translation source note from "machine translation"
  to "machine translation or community contributions"
- Maintains consistency with English README.md
2025-11-10 09:50:02 +08:00
Li Shuzhen
580ff87e7f fix: specs (#1256)
* fix: xiaomi.aircondition.c24 total power consumption unit (#1243)

* fix: adp.motor.adswb4 motor switch (#1257)

* docs: modify README

* fix: cgllc.airm.cgd1st environment temperature (#1270)

* fix: shhf.light.sflt11 fan switch status (#1276)
2025-07-21 16:44:47 +08:00
Li Shuzhen
df3faea257 feat: set the cover closed position (#1242)
* feat: add the cover closed position configure option

* feat: estimate the cover entity's is_closed property by the cover closed position (#944)

* fix: translations

* feat: set max cover closed position as 5

* docs: modify README

* fix: remove useless spaces
2025-07-14 09:03:54 +08:00
Li Shuzhen
9afc62f39a docs: modify README (#1237)
* docs: modify spec_filter.yaml in README

* docs: modify event descriptions in README
2025-07-09 09:17:57 +08:00
Li Shuzhen
d0508ead25 Fix specs (#1132) 2025-06-12 10:40:54 +08:00
Wulu
6a2534934c docs: update HACS instructions for Xiaomi Home integration (#1088)
Some checks failed
Tests / check-rule-format (push) Failing after 4m37s
Validate / validate-hassfest (push) Failing after 4m38s
Validate / validate-hacs (push) Failing after 5m43s
Validate / validate-lint (push) Failing after 4m38s
Validate / validate-setup (push) Failing after 4m39s
2025-05-22 16:10:20 +08:00
JimmyKmi
d06a564917 docs: add HACS installation path to README.md (#102) 2025-05-22 15:59:30 +08:00
Li Shuzhen
ce7ce7af4b fix: fan speed (#464)
* fix: fan speed

* fix: fan speed names map

* fix: set percentage

* docs: the instance code format of valuelist

* fix: fan level property

* fix: pylint too long line.

* style: code format

---------

Co-authored-by: topsworld <sworldtop@gmail.com>
2025-01-07 20:21:04 +08:00
Feng Wang
50be2c5df9 doc: make git update guide more accurate (#561)
* Improve installation guide

* Improve installation guide (zh)
2025-01-03 20:45:00 +08:00
ted
2703d68920 docs: fix table header misplacement (#554)
fix table header misplacement
2025-01-03 18:59:24 +08:00
ZnDong
ea9aa082b7 docs: amend HACS installation (#404)
* docs: amend HACS installation

* docs: amend HACS installation
2024-12-24 21:02:17 +08:00
Li Shuzhen
9af59e28bd docs: specify the download process in HACS installation (#371)
* docs: specify the download process in HACS installation

* docs: revoke login authorization
2024-12-23 22:40:57 +08:00
whoiam
6ce3206b30 fix: HASS core version requirements (#214)
* Update README.md

* Update hacs.json

* Update README_zh.md
2024-12-20 17:35:21 +08:00
LiShuzhen
be627afe54 docs: add i18n in README 2024-12-18 21:34:04 +08:00
topsworld
fce67ba2da doc: move CONTRIBUTING.md, CHANGELOG.md to root path 2024-12-18 20:45:07 +08:00
LiShuzhen
42399ff1f6 docs: add update method 2024-12-12 08:32:52 +08:00
LiShuzhen
9f48932c46 docs: fix spelling errors 2024-12-11 15:49:40 +08:00
topsworld
051271af6d feat: update HA core and os version requirement 2024-12-11 10:17:44 +08:00
topsworld
838fff399b feat: first commit 2024-12-10 17:36:32 +08:00