Commit Graph

48 Commits

Author SHA1 Message Date
JimmyKmi
2ee45952d2 i18n: Add Dutch translation for advanced_options, remove extra line breaks 2024-12-20 16:26:04 +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
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
topsworld
b93d8631b8 fix: translations structure error 2024-12-19 13:31:17 +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
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
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
topsworld
1fd5e8e57d fix: set the temperature limit 2024-12-17 21:39:09 +08:00
topsworld
bf435374d2 fix: water heater entity add STATE_OFF 2024-12-17 21:39:09 +08:00
topsworld
8a1e464cdd fix: invalid cover status 2024-12-17 19:18:19 +08:00
LiShuzhen
ac5901bf1f fix: bool value false 2024-12-17 19:04:25 +08:00
LiShuzhen
18283ed179 perf: remove permanent true statement 2024-12-17 19:04:25 +08:00
LiShuzhen
5b6f94a54a fix: set prop 2024-12-17 19:04:25 +08:00
LiShuzhen
80fb07eae1 fix: air-conditioner switch on 2024-12-17 19:04:25 +08:00
topsworld
0863fc4ef0 fix: fix get homeinfo error 2024-12-17 15:32:19 +08:00
topsworld
687bc88df7 fix: fix humidifier trans rule 2024-12-17 10:36:45 +08:00
topsworld
ded158e0e6 style: ignore pylint wanring ('inconsistent-quotes') for config_flow.py 2024-12-16 10:44:01 +08:00
topsworld
7a336c31fe style: ignore pylint wanring ('inconsistent-quotes') 2024-12-16 10:41:30 +08:00
topsworld
419d76e1ad test: add test case for miot event 2024-12-16 09:38:04 +08:00
topsworld
b7592cd4e2 style: update config flow display format 2024-12-12 20:57:00 +08:00
topsworld
d79f13e76f feat: check rule format with pytest 2024-12-12 20:45:30 +08:00
topsworld
e6a5723ca9 fix: release the resource when miot client deinit 2024-12-11 15:29:25 +08:00
topsworld
e8b681bc66 perf: update token and cert refresh logic 2024-12-11 11:46:28 +08:00
topsworld
15b81d8b9c docs: update translations file 2024-12-10 20:17:31 +08:00
topsworld
0cffda9a5c fix: fix validate-format 2024-12-10 19:36:13 +08:00
topsworld
99e89d78e0 style: pylint check add ignore item 2024-12-10 19:11:25 +08:00
topsworld
838fff399b feat: first commit 2024-12-10 17:36:32 +08:00