Commit Graph

158 Commits

Author SHA1 Message Date
topsworld
b16d158dc2 fix: fix __init__ type error 2025-01-17 12:00:15 +08:00
topsworld
22f843d7ff fix: fix sensor entity type error 2025-01-17 11:54:06 +08:00
topsworld
e7564b0152 feat: set default sensor state_class 2025-01-17 11:04:20 +08:00
topsworld
d5e243caf0 feat: support binary display mode configure 2025-01-17 10:54:54 +08:00
topsworld
cebd48355f fix: miot storage type error 2025-01-17 09:41:01 +08:00
topsworld
37492438e8 fix: fix pylint warning 2025-01-16 22:48:43 +08:00
topsworld
bc62891576 style: ignore i18n tranlate type error 2025-01-16 22:44:29 +08:00
topsworld
64d5ff41f6 feat: change miot spec name type define 2025-01-16 22:34:01 +08:00
topsworld
14766466ca feat: support binary mode 2025-01-16 22:33:37 +08:00
topsworld
37a446f2d1 feat: ignore normal disconnect log 2025-01-16 21:54:50 +08:00
topsworld
93905a10ee feat: update action debug logic 2025-01-16 21:51:46 +08:00
topsworld
6b49d07140 fix: fix multi lang error 2025-01-16 20:58:10 +08:00
topsworld
e07b90dd7a feat: add func slugify_did 2025-01-16 19:23:06 +08:00
topsworld
8a1b38ef56 fix: fix device remove error 2025-01-16 11:24:47 +08:00
topsworld
69f1d38a19 feat: same event supports multiple sub 2025-01-16 10:30:43 +08:00
topsworld
da4cdc47d1 feat: same prop supports multiple sub 2025-01-16 10:11:12 +08:00
topsworld
9c84425106 feat: move sepc_filter from storage to spec, use the YAML format file 2025-01-15 20:55:49 +08:00
topsworld
51d76a33ee feat: move bool_trans from storage to spec 2025-01-15 20:39:28 +08:00
topsworld
45b4a2b380 style: rename spec_filter func name 2025-01-15 16:23:03 +08:00
topsworld
470215b093 style: ignore type error 2025-01-15 12:21:08 +08:00
topsworld
7c1cbea7f0 Merge branch 'main' into refactor-miot-spec-device 2025-01-15 12:18:40 +08:00
Paul Shawn
75e44f4f93
feat: change mips reconnect logic & add mips test case (#641)
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
* test: add test case for mips

* feat: change mips reconnect logic

* fix: fix test_mdns type error
2025-01-14 17:55:49 +08:00
Feng Wang
2881948076
feat: move web page to html (#627)
* move web page to html

* move loading into function

* make the loading async

* fix usage

* Fix function naming

* fix lint

* fix lint

* feat: use get_running_loop replace get_event_loop

* feat: translate using the i18n module

* docs: update zh-Hant translate content

---------

Co-authored-by: topsworld <sworldtop@gmail.com>
2025-01-14 16:59:35 +08:00
桔子
1cdcb785b5
feat: add power properties trans (#571)
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
2025-01-14 09:19:28 +08:00
Paul Shawn
e0eb06144f
feat: support remove device (#622)
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
* feat: support remove device

* feat: simplify the unsub logic

* feat: update notify after rm device
2025-01-13 22:22:23 +08:00
Paul Shawn
72d8977e6e
test: add test case for user cert (#638) 2025-01-13 22:20:48 +08:00
topsworld
018b213a2c Merge branch 'main' into refactor-miot-spec-device 2025-01-13 15:52:21 +08:00
Paul Shawn
3b89536bda
fix: fix miot cloud and mdns error (#637)
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
* fix: fix miot cloud state error

* style: code format
2025-01-13 11:23:53 +08:00
Paul Shawn
045528fbf2
style: using logging for test case log print (#636)
* style: using logging for test case log print

* fix: fix miot cloud test case resource error
2025-01-13 10:54:18 +08:00
Paul Shawn
5903c9a5a8
test: add miot cloud test case (#620)
* test: add miot cloud test case

* feat: improve miot cloud logic

* feat: simplify oauth logic

* test: improve miot cloud test case

* fix: fix pylint error

* feat: use random value replace uuid, random_did

* fix: import error
2025-01-13 09:38:44 +08:00
topsworld
8d5feba1e0 Merge branch 'main' into refactor-miot-spec-device 2025-01-10 21:51:43 +08:00
Feng Wang
9ceca34b28
refactor: refactor miot mips & fix type errors (#365)
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
* remove use of tev & fix type errors

* lint fix

* make private classes private

* simplify inheritance

* fix thread naming

* fix the deleted public data class

* remove tev

* fix access violation

* style: format code

* style: param init

* fix: fix event async set

* fix: fix mips re-connect error

---------

Co-authored-by: topsworld <sworldtop@gmail.com>
2025-01-10 21:46:00 +08:00
topsworld
60e57e863d fix: fix fan entity 2025-01-10 10:32:20 +08:00
topsworld
792d70f2ba merge: merge main to this branch 2025-01-10 10:14:01 +08:00
Paul Shawn
152933a223
docs: update changelog and version to v0.1.5b1 (#616)
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
2025-01-10 09:46:34 +08:00
Paul Shawn
6557b22a52
fix: fix multi ha instance login (#560)
* fix: fix multi ha instance login

* fix: fix option flow oauth
2025-01-10 09:19:24 +08:00
topsworld
fca97e03f0 fix: fix miot cloud log error 2025-01-09 15:04:45 +08:00
topsworld
93f04b1aee feat: update prop.format_ logic 2025-01-09 15:04:23 +08:00
topsworld
d25d3f6a93 feat: update value-list logic 2025-01-09 13:23:35 +08:00
topsworld
3399e3bb20 feat: update entity value-range 2025-01-08 19:29:39 +08:00
topsworld
078adfbd4c feat: update std_lib and multi_lang logic 2025-01-08 15:23:31 +08:00
topsworld
e4dfdf68ab feat: remove spec cache storage 2025-01-08 11:00:41 +08:00
topsworld
d9d8433405 fix: fix type error 2025-01-07 20:24:06 +08:00
Paul Shawn
5d4b975f85
fix: the number of profile models updated from 660 to 823 (#583)
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
2025-01-07 20:22:06 +08:00
Paul Shawn
0566546a99
feat: filter miwifi.* devices (#564)
* feat: filter miwifi.* devices

* feat: update log level

* feat: filter special xiaomi router model, xiaomi.router.rd03
2025-01-07 20:21:43 +08:00
Paul Shawn
c0d100ce2b
feat: fan entity support direction ctrl (#556)
* feat: fan entity support direction

* fix: fix value judgement logic
2025-01-07 20:21:24 +08:00
Li Shuzhen
ce7ce7af4b
fix: fan speed (#464)
* fix: fan speed

* fix: fan speed names map

* fix: set percentage

* docs: the instance code format of valuelist

* fix: fan level property

* fix: pylint too long line.

* style: code format

---------

Co-authored-by: topsworld <sworldtop@gmail.com>
2025-01-07 20:21:04 +08:00
topsworld
eddeafa3c3 fix: fix miot_device type error 2025-01-07 10:40:10 +08:00
Paul Shawn
d65fe32a98
docs: update changelog and version to v0.1.5b0 (#563)
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
* style: code format

* docs: update changelog and version to v0.1.5b0

* docs: update changelog
2025-01-03 21:08:39 +08:00
Feng Wang
50be2c5df9
doc: make git update guide more accurate (#561)
* Improve installation guide

* Improve installation guide (zh)
2025-01-03 20:45:00 +08:00