Commit Graph

96 Commits

Author SHA1 Message Date
Yi Zhai
0008c39795
Merge 3546517093 into 9af59e28bd 2024-12-24 00:00:03 +08:00
Li Shuzhen
9af59e28bd
docs: specify the download process in HACS installation (#371)
Some checks are pending
Tests / check-rule-format (push) Waiting to run
Validate / validate-hassfest (push) Waiting to run
Validate / validate-hacs (push) Waiting to run
Validate / validate-lint (push) Waiting to run
Validate / validate-setup (push) Waiting to run
* docs: specify the download process in HACS installation

* docs: revoke login authorization
2024-12-23 22:40:57 +08:00
Paul Shawn
c1867e2baf
fix: fix type error, wrong use of any and Any (#338)
* fix: fix type error, wrong use of any and Any

* fix: wrong use of session close

* fix: fix test_lan type error

* fix: remove __del__

* feat: oauth, http add deinit_async
2024-12-22 10:46:58 +08:00
Paul Shawn
afef709839
doc: update changelog and version to v0.1.4b0 (#312) 2024-12-21 11:41:24 +08:00
Paul Shawn
02ddf8df56
fix: fix lan ctrl filter logic (#303)
* style: rename devices_filter to homes_select

* fix: fix miot_lan update_devices

* fix: async blocking call
2024-12-21 11:08:36 +08:00
Paul Shawn
f87e746188
fix: fix miot cloud token refresh (#307) 2024-12-21 10:42:48 +08:00
Paul Shawn
67785f747a
doc: update changelog and version (#290)
* doc: update changelog and version

* doc: update changelog
2024-12-20 21:20:49 +08:00
Paul Shawn
bd3a98b976
Fix local ctrl error (#271)
* feat: common.py add gen_absolute_path, load_yaml_file

* fix: miot_lan add profile devices filter

* fix: add lan ctrl profile model list

* test: improve lan test

* fix: fix pylint redefined-outer-name

* feat: update tools to update profile models file

* fix: fix pylint waning

* fix: update miot lan NETWORK_UNSTABLE_RESUME_TH value
2024-12-20 19:21:43 +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
Feng Wang
aacb794e1f
feat: Use aiohttp instead of waiting for blocking calls (#227)
* Use native async call instead of converting blocking calls

* remove nullable declarations

* fixs

* Fix star expression

* fix gather again

* remove unused private function

* Fix naming conflict

* Add the deleted function back. Disable the warning instead.

* remove trailing space

* handle wrong mime type from cloud

* Fix request header

* fix missing await
2024-12-20 17:34:34 +08:00
Zeyu Li
a879ae2cdf
docs: fix README_zh.md about changelog (#270)
fix: error messages and incorrent return value which could possibly lead to crash in mint_storage.py
2024-12-20 17:34:03 +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
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
Yi Zhai
3546517093
fix: Update specv2entity.py for missing "binary_sensor"
fix: Update specv2entity.py for missing "binary_sensor"

fix typo which forgets to  adding "binary_sensor" entity in `SPEC_PROP_TRANS_MAP`.
2024-12-19 17:18:55 +08:00
Yi Zhai
9cc2c52d44
fix: revert value of door and windows sensor with binary sensor class
fix: revert value of door and windows sensor with binary sensor class

Binary sensor class in Home Assistant uses true to indicate open, which is opposite of Xiaomi Home.
This commit reverts the value of  door and windows sensor to make them the same.
2024-12-19 16:59:39 +08:00
Yi Zhai
162f943924
fix: use binary sensor class for door and windows sensor and water leak sensor
fix: use Binary sensor class for door&windows and water leak sensor

The original version uses a sensor class for various sensors, such as door and windows sensors, water leak sensors, occupancy sensors, motion sensors, etc., which prevents the HomeKit Bridge from generating corresponding entities.
This fix is to use binary sensor class for door andwindows sensor and water leak sensor.

Correspoding issue: https://github.com/XiaoMi/ha_xiaomi_home/issues/206
2024-12-19 16:55:28 +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
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