10 Commits

Author SHA1 Message Date
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