Commit Graph

125 Commits

Author SHA1 Message Date
sworld
efda70ef39 feat: show integration instance id 2024-12-30 21:30:14 +08:00
sworld
d24b07be4c style: remove unuse params 2024-12-30 21:05:59 +08:00
Paul Shawn
c4bc72df45
Merge branch 'main' into feat-entities-filter 2024-12-30 20:59:35 +08:00
Feng Wang
196e19d10a
misc: remove tev dependency for lan control & fixs (#333)
* Remove tev & fix some type issues

* Use call_soon_threadsafe instead of event fd for ipc

* fix lint

* add tev back

* fix lint

* ignore broad exception warning

* revert changes in the license

* do not set asyncio event loop

* fix racing condition

* remove unused data classes

* change internal class scope

* set timers to None after cancel

* Adjust import order

* fix typo

* Fix typo in comments

* guard lan apis with init_done
2024-12-30 20:54:50 +08:00
sworld
e169df4980 fix: fix mqtt broker check logic 2024-12-30 18:01:32 +08:00
sworld
48348201a2 feat: update manifest requirements, paho-mqtt<2.0.0 2024-12-30 18:00:26 +08:00
sworld
a64a1d5ac7 feat: config flow support check network deps 2024-12-30 17:37:08 +08:00
sworld
c24f23e6a3 feat: check mqtt broker 2024-12-30 16:52:28 +08:00
sworld
c2b210c447 --amend 2024-12-30 15:18:24 +08:00
sworld
57f2be0eda --amend 2024-12-30 15:05:30 +08:00
sworld
4fa4fca0cf feat: option flow add check network deps 2024-12-30 15:01:19 +08:00
sworld
48e8a614a6 fix: ignore invalid type error 2024-12-30 14:00:21 +08:00
sworld
a8359a2b8e refactor: rename func name 2024-12-30 13:57:30 +08:00
sworld
17fd8bc5f0 doc: update translations 2024-12-30 12:55:44 +08:00
sworld
caedd1fb89 feat: config flow support network check 2024-12-30 12:32:51 +08:00
sworld
c4425756f3 style: change miot client refresh prop log level 2024-12-29 23:25:15 +08:00
sworld
742e84d6dd feat: update config flow network detect logic 2024-12-29 23:18:21 +08:00
sworld
c5b2f43663 doc: update translations 2024-12-29 19:48:30 +08:00
sworld
7839a674ac feat: option flow support network detect config 2024-12-29 19:43:16 +08:00
sworld
0afb1455f6 feat: update miot_client.get_miot_instance_async 2024-12-29 01:48:36 +08:00
sworld
405c435841 refator: refactor miot network 2024-12-29 01:27:48 +08:00
sworld
7606ae5912 feat: update save devices logic 2024-12-27 22:40:13 +08:00
topsworld
b510dfffca feat: improve devices filter 2024-12-27 20:47:46 +08:00
topsworld
748523c18f style: change some miot cloud log level 2024-12-26 20:27:44 +08:00
Li Shuzhen
310029d8ed
chore: update issue template (#445)
Some checks failed
Tests / check-rule-format (push) Has been cancelled
Validate / validate-hassfest (push) Has been cancelled
Validate / validate-hacs (push) Has been cancelled
Validate / validate-lint (push) Has been cancelled
Validate / validate-setup (push) Has been cancelled
2024-12-26 09:11:18 +08:00
sworld
b14fb6b4cf fix: fix miot http type error 2024-12-25 23:17:13 +08:00
Feng Wang
365f4e57d8
feat: remove duplicate dependency (#390)
Some checks failed
Tests / check-rule-format (push) Has been cancelled
Validate / validate-hassfest (push) Has been cancelled
Validate / validate-hacs (push) Has been cancelled
Validate / validate-lint (push) Has been cancelled
Validate / validate-setup (push) Has been cancelled
2024-12-24 21:58:50 +08:00
Paul Shawn
6d978872e7
docs: update changelog and version to v0.1.4b1 (#428) 2024-12-24 21:37:13 +08:00
Paul Shawn
29b7489ac7
feat: support devices filter & devices changed notify (#332)
* feat: add devices filter page

* doc: update translations and i18n

* fix: cancel miot http timer

* feat: improve devices filter

* doc: update translations/de

* fix: i18n type error

* feat: config flow support device filter

* fix: fix mdns type error

* fix: fix miot client i18n logic

* feat: add connect type

* doc: update translations and i18n

* feat: update auth info save logic

* feat: improve config flow devices filter

* fix: fix some type error

* doc: update translations for option flow

* fix: fix option flow type error

* feat: support option flow devices filter

* doc: update option flow tranlations

* feat: update webhook handle func to private

* feat: update config flow translations

* doc: update tranlations text

* feat: custom display device changed notify

* feat: device changed notify logical refinement

* doc: update translations content
2024-12-24 21:28:50 +08:00
Li Shuzhen
78461cbd8a
fix: lumi.switch.acn040 identify service translation of zh-Hans (#412)
* fix: lumi.switch.acn040 identify service translation of zh-Hans

* fix: remove useless part

* fix: lumi.switch.acn040 identify service translation of en
2024-12-24 21:18:33 +08:00
RangerCD
7654e5e518
fix: ignore undefined piid and keep processing following arguments (#377)
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
2024-12-24 21:03:11 +08:00
Paul Shawn
0f5da18108
fix: fix unit convert attribute error (#396) 2024-12-24 21:02:36 +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)
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
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