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
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
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
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
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
LiShuzhen
b7fc534a34
fix: bool value false
2024-12-17 17:57:02 +08:00
LiShuzhen
da58d4c0a5
perf: remove permanent true statement
2024-12-17 17:50:08 +08:00
LiShuzhen
dbf943386e
fix: set prop
2024-12-17 17:33:28 +08:00
LiShuzhen
bff5b3bf44
fix: air-conditioner switch on
2024-12-17 16:31:08 +08:00
Li Shuzhen
507018d4be
Merge pull request #80 from XiaoMi/dev
...
fix: fix get homeinfo error
2024-12-17 15:42:50 +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
db3834793c
test: add test case for miot_common.py
2024-12-17 10:36:45 +08:00
topsworld
687198469f
test: add test case for miot_lan.py
2024-12-17 10:36:45 +08:00
LiShuzhen
b4dce6b23e
chore: remove the ignore key of HACS action
2024-12-17 08:30:11 +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
06df255cf2
chore: fix workflows dependencies lib lack for test.yaml
2024-12-16 09:52:15 +08:00
topsworld
fb2a089506
chore: fix workflows dependencies lib lack
2024-12-16 09:47:16 +08:00