Paul Shawn
e0eb06144f
feat: support remove device ( #622 )
...
* feat: support remove device
* feat: simplify the unsub logic
* feat: update notify after rm device
2025-01-13 22:22:23 +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
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
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
2024-12-31 16:37:46 +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
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
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
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
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
e6a5723ca9
fix: release the resource when miot client deinit
2024-12-11 15:29:25 +08:00
topsworld
e8b681bc66
perf: update token and cert refresh logic
2024-12-11 11:46:28 +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