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
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
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
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
topsworld
99e654f0c7
style: remove invalid space
2024-12-18 10:35:29 +08:00
topsworld
7a336c31fe
style: ignore pylint wanring ('inconsistent-quotes')
2024-12-16 10:41:30 +08:00
topsworld
99e89d78e0
style: pylint check add ignore item
2024-12-10 19:11:25 +08:00
topsworld
838fff399b
feat: first commit
2024-12-10 17:36:32 +08:00