Commit Graph

91 Commits

Author SHA1 Message Date
JimmyKmi
a10c37f612 format: undo format change 2024-12-20 18:29:35 +08:00
JimmyKmi
d97fd5ef45 Merge branch 'main' into advanced-options 2024-12-20 16:30:36 +08:00
JimmyKmi
2ee45952d2 i18n: Add Dutch translation for advanced_options, remove extra line breaks 2024-12-20 16:26:04 +08:00
Li Shuzhen
640ac25d9c
chore: remove default label (#276) 2024-12-20 15:03:34 +08:00
Alireza
5f5b3feea5
Fix: Replace inconsistent logging.error with _LOGGER.error (#262) 2024-12-20 13:56:51 +08:00
Paul Shawn
571483b302
chore: Improve multi-language translation actions (#256)
* test: check bool trans integrity

* feat: add tools to update and format data

* style: sort data

* feat: update check_rule_format.py

* style: remove unuse SUPPORTED_PLATFORMS item

* test: check spec rule sort

* fix: fix py import

* feat: remove unuse code

* feat: add spec data sort
2024-12-20 09:15:07 +08:00
JimmyKmi
d8e6c4550d Merge branch 'main' into advanced-options 2024-12-20 02:14:36 +08:00
JimmyKmi
9e5ed442ea fix: Resolve line length violations in config_flow.py
- Shortened lines in custom_components/xiaomi_home/config_flow.py to comply with PEP 8's line length limit (80 characters).
- Addressed pylint warnings concerning line lengths on lines 489, 568, and 569.
2024-12-20 02:14:29 +08:00
Li Shuzhen
b955c199fc
Merge pull request #237 from chemwolf6922/fix-dutch-translation-declaration
Fix Dutch translation declaration
2024-12-19 17:42:15 +08:00
Feng Wang
f10885fbfd Fix dutch translation declaration 2024-12-19 17:22:31 +08:00
Li Shuzhen
bba8ba7f7b
Merge pull request #168 from wheresrofl/patch-1
feat: dutch translation
2024-12-19 14:07:54 +08:00
Li Shuzhen
1f20416e97
Merge pull request #220 from topsworld/test_lang_integrity
test: add lang integrity check
2024-12-19 14:04:16 +08:00
topsworld
2d6387c30a test: check_rule_format.py use constant 2024-12-19 13:53:53 +08:00
topsworld
b93d8631b8 fix: translations structure error 2024-12-19 13:31:17 +08:00
topsworld
dabf277942 test: check lang_integrity 2024-12-19 13:30:26 +08:00
Li Shuzhen
c4a981a15d
Merge pull request #212 from chemwolf6922/patch-1
Simplify the install logic
2024-12-19 12:12:08 +08:00
Feng Wang
3c464a0b0c
Simplify the install logic. 2024-12-19 10:58:41 +08:00
Paul Shawn
b4be1e0aa9
Merge pull request #204 from FlyingFeng2021/main
Fix incorrect links
2024-12-19 10:56:31 +08:00
flyingfeng
8364a544f2 Fix incorrect links 2024-12-19 10:03:03 +08:00
jimmykmi
b37a249c11 Merge branch 'main' into advanced-options
# Conflicts:
#	custom_components/xiaomi_home/config_flow.py
2024-12-19 02:45:59 +08:00
jimmykmi
72c5610ce9 i18n: Add translations for advanced configuration in DE, ES, JA, PT, PT-BR, RU, and Traditional Chinese.
These translations were generated using Tongyi Lingma and may require further verification to ensure accuracy. Contributions for reviewing and improving these translations are highly appreciated.
2024-12-19 02:42:33 +08:00
jimmykmi
040e711567 i18n: Add translations for advanced configuration in English/French/Chinese Simplified/Chinese Traditional. 2024-12-19 02:41:01 +08:00
jimmykmi
f581ad6ce2 feat: Add advanced configuration step
- Added an "Advanced Configuration Options" step to the config flow.
- Moved `action_debug` and `hide_non_standard_entities` configurations to the new step.
- Introduced a checkbox "Show Advanced Configuration Options" in the devices filter form.
- Only show the advanced step if the user opts in via the checkbox.

This change enhances the configuration process by allowing users to access advanced settings only if needed, keeping the initial setup simple.
2024-12-19 02:09:09 +08:00
Rofl
d980b1bfb4
feat: more dutch translations
accidentally missed this file
2024-12-18 18:04:23 +01:00
Rofl
2fb030c52d
Merge branch 'XiaoMi:main' into patch-1 2024-12-18 17:01:15 +00:00
Paul Shawn
54e26378be
Merge pull request #179 from yejinze/main
fix: directory copy issue
2024-12-18 22:28:27 +08:00
yejinze
6fae26a378 fix: directory copy issue 2024-12-18 22:01:10 +08:00
Li Shuzhen
d437963628
Merge pull request #174 from SusanPhevos/doc-add-i18n
docs: add i18n
2024-12-18 21:37:23 +08:00
LiShuzhen
be627afe54 docs: add i18n in README 2024-12-18 21:34:04 +08:00
Li Shuzhen
fa382939a0
Merge branch 'XiaoMi:main' into main 2024-12-18 21:26:03 +08:00
Li Shuzhen
caec202c71
Merge pull request #170 from topsworld/main
feat: const.INTEGRATION_LANGUAGES add pt, pt-BR
2024-12-18 21:24:25 +08:00
topsworld
1e0ddc1f0c feat: const.INTEGRATION_LANGUAGES add pt, pt-BR 2024-12-18 21:20:51 +08:00
Rofl
01f6bbf2c7
feat: nederland translation 2024-12-18 13:06:00 +00:00
Li Shuzhen
e0cd8486eb
Merge pull request #167 from XiaoMi/doc_update_version
merge: update document
2024-12-18 21:02:39 +08:00
topsworld
7618f6b366 doc: update change log 2024-12-18 20:46:32 +08:00
topsworld
fce67ba2da doc: move CONTRIBUTING.md, CHANGELOG.md to root path 2024-12-18 20:45:07 +08:00
topsworld
2c37fb63ca doc: update change log and version 2024-12-18 20:39:48 +08:00
fanjinyu
fec5d10f42 add pt and pt-BR language support in i18n 2024-12-18 20:16:14 +08:00
Li Shuzhen
10aa78f490
Merge pull request #135 from XiaoMi/feat_heater_devices
feat: support xiaomi heater devices
2024-12-18 19:00:33 +08:00
topsworld
6e2de896c3 feat: update xiaomi heater ctrl logic 2024-12-18 17:42:40 +08:00
Guoliang Li
ce4f23b1bd style: fix the trailing space problem reported by pylint 2024-12-18 15:56:45 +08:00
Guoliang Li
e70acd8421 style: update comments to meet coding standards 2024-12-18 15:56:45 +08:00
Guoliang Li
b498a708ac style: ignore pylint warning 2024-12-18 15:56:45 +08:00
KNOOP
c744919032 fix: handle UnitOfConductivity import #54
Move unit imports inside function 和 add fallback for older versions. Resolves
2024-12-18 15:56:45 +08:00
KNOOP
6bb4bf32d7 fix: handle UnitOfConductivity import
Move unit imports inside function and add fallback for older versions.

Resolves #123
2024-12-18 15:56:45 +08:00
Hudson Brendon
83dbceac6d Create pt-BR.json 2024-12-18 15:29:43 +08:00
Hudson Brendon
7a50778d2b Create pt.json 2024-12-18 15:29:28 +08:00
topsworld
b5f9e931b7 feat: support xiaomi heater devices 2024-12-18 10:36:31 +08:00
topsworld
99e654f0c7 style: remove invalid space 2024-12-18 10:35:29 +08:00
topsworld
189060dd86 fix: add STATE_ON to devices that not define mode 2024-12-17 21:39:09 +08:00