Paul Shawn
8778b00c3a
feat: support modify spec and value conversion ( #663 )
...
* fix: fix miot_device type error
* fix: fix type error
* feat: remove spec cache storage
* feat: update std_lib and multi_lang logic
* feat: update entity value-range
* feat: update value-list logic
* feat: update prop.format_ logic
* fix: fix miot cloud log error
* fix: fix fan entity
* style: ignore type error
* style: rename spec_filter func name
* feat: move bool_trans from storage to spec
* feat: move sepc_filter from storage to spec, use the YAML format file
* feat: same prop supports multiple sub
* feat: same event supports multiple sub
* fix: fix device remove error
* feat: add func slugify_did
* fix: fix multi lang error
* feat: update action debug logic
* feat: ignore normal disconnect log
* feat: support binary mode
* feat: change miot spec name type define
* style: ignore i18n tranlate type error
* fix: fix pylint warning
* fix: miot storage type error
* feat: support binary display mode configure
* feat: set default sensor state_class
* fix: fix sensor entity type error
* fix: fix __init__ type error
* feat: update test case logic
* fix: github actions add dependencies lib
* fix: fix some type error
* feat: update device list changed notify logic
* feat: update prop expr logic
* feat: add spec modify
* feat: update device sub id logic
* feat: update get miot client instance logic
* fix: fix some type error
* feat: update miot device unit and icon trans
* perf: update spec trans entity logic
* feat: update spec trans entity rule
* feat: update spec_modify
* feat: update sensor ENUM icon
* fix: fix miot device error
* fix: fix miot spec error
* featL update format check and spec modify file
* feat: update checkout rule format
* feat: handle special property.unit
* feat: add expr for cuco-cp1md
* feat: fix climate hvac error
* feat: set sensor suggested display precision
* feat: update climate set hvac logic
* feat: add expr for cuco-v3
* feat: update spec expr for chuangmi-212a01
2025-01-22 19:21:02 +08:00
fanjinyu55255
3a5b641ec7
fix: fix variable name or comment errors & fix test_lan error ( #678 )
...
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: renamed _url_addr_list to _http_addr_map for clarity
* fix: redirected ping command output to DEVNULL
* fix: add resource cleanup in test_lan_async
2025-01-21 20:16:15 +08:00
Paul Shawn
ef56448dbb
refactor: refactor miot device and spec ( #592 )
...
* fix: fix miot_device type error
* fix: fix type error
* feat: remove spec cache storage
* feat: update std_lib and multi_lang logic
* feat: update entity value-range
* feat: update value-list logic
* feat: update prop.format_ logic
* fix: fix miot cloud log error
* fix: fix fan entity
* style: ignore type error
* style: rename spec_filter func name
* feat: move bool_trans from storage to spec
* feat: move sepc_filter from storage to spec, use the YAML format file
* feat: same prop supports multiple sub
* feat: same event supports multiple sub
* fix: fix device remove error
* feat: add func slugify_did
* fix: fix multi lang error
* feat: update action debug logic
* feat: ignore normal disconnect log
* feat: support binary mode
* feat: change miot spec name type define
* style: ignore i18n tranlate type error
* fix: fix pylint warning
* fix: miot storage type error
* feat: support binary display mode configure
* feat: set default sensor state_class
* fix: fix sensor entity type error
* fix: fix __init__ type error
* feat: update test case logic
* fix: github actions add dependencies lib
* fix: fix some type error
* feat: update device list changed notify logic
2025-01-17 18:14:31 +08:00
Paul Shawn
75e44f4f93
feat: change mips reconnect logic & add mips test case ( #641 )
...
* 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
Paul Shawn
72d8977e6e
test: add test case for user cert ( #638 )
2025-01-13 22:20:48 +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
Feng Wang
9ceca34b28
refactor: refactor miot mips & fix type errors ( #365 )
...
* 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
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
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
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
topsworld
2d6387c30a
test: check_rule_format.py use constant
2024-12-19 13:53:53 +08:00
topsworld
dabf277942
test: check lang_integrity
2024-12-19 13:30:26 +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
topsworld
d2e46e016d
feat: update conftest.py
2024-12-16 09:38:04 +08:00
topsworld
9d95379f83
test: add test case for miot mdns and network
2024-12-16 09:38:04 +08:00
topsworld
ad7f9eb610
test: add test case for miot spec
2024-12-16 09:38:04 +08:00
topsworld
bac1c7027b
test: add test case for miot ev
2024-12-16 09:38:04 +08:00
topsworld
2fe47aca61
test: add test case for miot storage
2024-12-16 09:38:04 +08:00
topsworld
419d76e1ad
test: add test case for miot event
2024-12-16 09:38:04 +08:00
topsworld
d79f13e76f
feat: check rule format with pytest
2024-12-12 20:45:30 +08:00