108 Commits (b75cafb18428a82ee730a5767b7b6cc860afd43b)
 

Author SHA1 Message Date
Paul Shawn b75cafb184
fix: limit *light.mode count (value-range) (#535)
* feat: spec filter add lemesh.switch.sw3f13 indicator-light.mode

* feat: limit mode count (value-range)

* revert: spec-filter.json

* fix: fix judgment logic

* style: remove unuse code

* style: change light log level
10 months ago
tiger 5438698a6e
feat:add missing parameter state_class (#101)
* feat: add state_class for sensor

* feat: add optional state_class and unit_of_measurement for properties

* feat:add support for state_class and unit process

* style: fix pylint format

* style: fix pylint format

* sytle: change logic to suit conversation

---------

Co-authored-by: LiShuzhen <SusanPhevos@gmail.com>
10 months ago
Paul Shawn da90e099d1
fix: update miot cloud raise error msg (#551) 10 months ago
ted 2703d68920
docs: fix table header misplacement (#554)
fix table header misplacement
10 months ago
Paul Shawn b6147de1b8
doc: update changelog and version to v0.1.4 (#522) 10 months ago
Paul Shawn 621ca8002b
feat: improve devices filter & optimize the network detection logic (#458)
* fix: fix miot http type error

* style: change some miot cloud log level

* feat: improve devices filter

* feat: update save devices logic

* refator: refactor miot network

* feat: update miot_client.get_miot_instance_async

* feat: option flow support network detect config

* doc: update translations

* feat: update config flow network detect logic

* style: change miot client refresh prop log level

* feat: config flow support network check

* doc: update translations

* refactor: rename func name

* fix: ignore invalid type error

* feat: option flow add check network deps

* --amend

* --amend

* feat: check mqtt broker

* feat: config flow support check network deps

* feat: update manifest requirements, paho-mqtt<2.0.0

* fix: fix mqtt broker check logic

* style: remove unuse params

* feat: show integration instance id

* feat: update data_schema from required to optional

* fix: translation text error
10 months ago
Alone 40a75bef28
feat: use yaml to parse action params (#447)
* feat: use yaml to parse action params

* feat: use yaml to parse action params

* feat: improve notify, action-text trans logic

* perf: reduce the number of judgments

---------

Co-authored-by: topsworld <sworldtop@gmail.com>
10 months ago
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
10 months ago
Li Shuzhen 310029d8ed
chore: update issue template (#445) 10 months ago
Feng Wang 365f4e57d8
feat: remove duplicate dependency (#390) 10 months ago
Paul Shawn 6d978872e7
docs: update changelog and version to v0.1.4b1 (#428) 10 months ago
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
10 months ago
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
10 months ago
RangerCD 7654e5e518
fix: ignore undefined piid and keep processing following arguments (#377) 10 months ago
Paul Shawn 0f5da18108
fix: fix unit convert attribute error (#396) 10 months ago
ZnDong ea9aa082b7
docs: amend HACS installation (#404)
* docs: amend HACS installation

* docs: amend HACS installation
10 months ago
Li Shuzhen 9af59e28bd
docs: specify the download process in HACS installation (#371)
* docs: specify the download process in HACS installation

* docs: revoke login authorization
10 months ago
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
10 months ago
Paul Shawn afef709839
doc: update changelog and version to v0.1.4b0 (#312) 10 months ago
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
10 months ago
Paul Shawn f87e746188
fix: fix miot cloud token refresh (#307) 10 months ago
Paul Shawn 67785f747a
doc: update changelog and version (#290)
* doc: update changelog and version

* doc: update changelog
10 months ago
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
10 months ago
whoiam 6ce3206b30
fix: HASS core version requirements (#214)
* Update README.md

* Update hacs.json

* Update README_zh.md
10 months ago
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
10 months ago
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
10 months ago
Li Shuzhen 640ac25d9c
chore: remove default label (#276) 10 months ago
Alireza 5f5b3feea5
Fix: Replace inconsistent logging.error with _LOGGER.error (#262) 10 months ago
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
10 months ago
Li Shuzhen b955c199fc
Merge pull request #237 from chemwolf6922/fix-dutch-translation-declaration
Fix Dutch translation declaration
11 months ago
Feng Wang f10885fbfd Fix dutch translation declaration 11 months ago
Li Shuzhen bba8ba7f7b
Merge pull request #168 from wheresrofl/patch-1
feat: dutch translation
11 months ago
Li Shuzhen 1f20416e97
Merge pull request #220 from topsworld/test_lang_integrity
test: add lang integrity check
11 months ago
topsworld 2d6387c30a test: check_rule_format.py use constant 11 months ago
topsworld b93d8631b8 fix: translations structure error 11 months ago
topsworld dabf277942 test: check lang_integrity 11 months ago
Li Shuzhen c4a981a15d
Merge pull request #212 from chemwolf6922/patch-1
Simplify the install logic
11 months ago
Feng Wang 3c464a0b0c
Simplify the install logic. 11 months ago
Paul Shawn b4be1e0aa9
Merge pull request #204 from FlyingFeng2021/main
Fix incorrect links
11 months ago
flyingfeng 8364a544f2 Fix incorrect links 11 months ago
Rofl d980b1bfb4
feat: more dutch translations
accidentally missed this file
11 months ago
Rofl 2fb030c52d
Merge branch 'XiaoMi:main' into patch-1 11 months ago
Paul Shawn 54e26378be
Merge pull request #179 from yejinze/main
fix: directory copy issue
11 months ago
yejinze 6fae26a378 fix: directory copy issue 11 months ago
Li Shuzhen d437963628
Merge pull request #174 from SusanPhevos/doc-add-i18n
docs: add i18n
11 months ago
LiShuzhen be627afe54 docs: add i18n in README 11 months ago
Li Shuzhen fa382939a0
Merge branch 'XiaoMi:main' into main 11 months ago
Li Shuzhen caec202c71
Merge pull request #170 from topsworld/main
feat: const.INTEGRATION_LANGUAGES add pt, pt-BR
11 months ago
topsworld 1e0ddc1f0c feat: const.INTEGRATION_LANGUAGES add pt, pt-BR 11 months ago
Rofl 01f6bbf2c7
feat: nederland translation 11 months ago