Li Shuzhen
0ce94f7316
feat: add device with motor-control service as cover entity ( #688 )
2025-02-25 08:55:06 +08:00
Li Shuzhen
20b0004746
refactor: refactor climate.py ( #614 )
...
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
* feat: add thermostat as climate entity
* feat: add bath-heater as climate entity
* refactor: climate entity
* fix: thermostat on/off
* fix: get the current fan mode
* perf: get fan level
* fix: fix climate hvac_mode
* fix: misuse of getting key or value from dict[int, any]
* style: add comments
* style: format the file based on google style
* fix: initialize _attr_hvac_modes
* feat: add heat and defog mode of ptc bath heater
---------
Co-authored-by: topsworld <sworldtop@gmail.com>
2025-02-19 09:21:46 +08:00
Li Shuzhen
57422ddf0d
fix: fan level with value-list & fan reverse ( #689 )
...
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
* fix: fan level with value-list
* feat: update wind-reverse logic
* feat: use macro define for fan entity
* fix: fix fan async_set_direction error
---------
Co-authored-by: topsworld <sworldtop@gmail.com>
2025-01-24 10:43:49 +08:00
Paul Shawn
2e60962e94
fix: climate error ( #690 )
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-22 20:01:39 +08:00
Paul Shawn
52fd6371ab
fix: fix water heater error & some type error ( #684 )
...
* fix: fix water heater target-temp error
* feat: update miot device logic
* fix: fix some type error
2025-01-22 19:55:41 +08:00
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
Li Shuzhen
3c16f0ffbb
docs: CLA request ( #681 )
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-22 16:42:08 +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
Zeyu Li
8fb6f9065e
fix: add prop trans rule for surge-power ( #595 )
...
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: potentiaol problems for properties identification error for sensors
* fix incorrect SPEC name
2025-01-21 16:09:58 +08:00
Paul Shawn
1022838eb8
docs: update changelog and version to v0.1.5b2 ( #659 )
v0.1.5b2
2025-01-17 19:09:20 +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
wilds
bf116e13a4
feat: support italian translation ( #183 )
...
* added italian translation
* feat: updated translation/it.json
* feat: add missing key in Italian translation
* feat: fix missing key in Italian translation
2025-01-17 13:17:05 +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
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 )
2025-01-14 09:19:28 +08:00
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
Paul Shawn
72d8977e6e
test: add test case for user cert ( #638 )
2025-01-13 22:20:48 +08:00
Paul Shawn
3b89536bda
fix: fix miot cloud and mdns error ( #637 )
...
* 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
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
152933a223
docs: update changelog and version to v0.1.5b1 ( #616 )
v0.1.5b1
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
Paul Shawn
5d4b975f85
fix: the number of profile models updated from 660 to 823 ( #583 )
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
Paul Shawn
d65fe32a98
docs: update changelog and version to v0.1.5b0 ( #563 )
...
* style: code format
* docs: update changelog and version to v0.1.5b0
* docs: update changelog
v0.1.5b0
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
Paul Shawn
b75cafb184
fix: limit *light.mode count (value-range) ( #535 )
...
* feat: spec filter add lemesh.switch.sw3f13 indicator-light.mode
* feat: limit mode count (value-range)
* revert: spec-filter.json
* fix: fix judgment logic
* style: remove unuse code
* style: change light log level
2025-01-03 20:43:15 +08:00
tiger
5438698a6e
feat:add missing parameter state_class ( #101 )
...
* feat: add state_class for sensor
* feat: add optional state_class and unit_of_measurement for properties
* feat:add support for state_class and unit process
* style: fix pylint format
* style: fix pylint format
* sytle: change logic to suit conversation
---------
Co-authored-by: LiShuzhen <SusanPhevos@gmail.com>
2025-01-03 20:42:34 +08:00
Paul Shawn
da90e099d1
fix: update miot cloud raise error msg ( #551 )
2025-01-03 19:00:11 +08:00
ted
2703d68920
docs: fix table header misplacement ( #554 )
...
fix table header misplacement
2025-01-03 18:59:24 +08:00
Paul Shawn
b6147de1b8
doc: update changelog and version to v0.1.4 ( #522 )
v0.1.4
2024-12-31 22:45:22 +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
Alone
40a75bef28
feat: use yaml to parse action params ( #447 )
...
* feat: use yaml to parse action params
* feat: use yaml to parse action params
* feat: improve notify, action-text trans logic
* perf: reduce the number of judgments
---------
Co-authored-by: topsworld <sworldtop@gmail.com>
2024-12-31 16:36:20 +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
Li Shuzhen
310029d8ed
chore: update issue template ( #445 )
2024-12-26 09:11:18 +08:00
Feng Wang
365f4e57d8
feat: remove duplicate dependency ( #390 )
2024-12-24 21:58:50 +08:00
Paul Shawn
6d978872e7
docs: update changelog and version to v0.1.4b1 ( #428 )
v0.1.4b1
2024-12-24 21:37:13 +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
Li Shuzhen
78461cbd8a
fix: lumi.switch.acn040 identify service translation of zh-Hans ( #412 )
...
* fix: lumi.switch.acn040 identify service translation of zh-Hans
* fix: remove useless part
* fix: lumi.switch.acn040 identify service translation of en
2024-12-24 21:18:33 +08:00
RangerCD
7654e5e518
fix: ignore undefined piid and keep processing following arguments ( #377 )
2024-12-24 21:03:11 +08:00
Paul Shawn
0f5da18108
fix: fix unit convert attribute error ( #396 )
2024-12-24 21:02:36 +08:00
ZnDong
ea9aa082b7
docs: amend HACS installation ( #404 )
...
* docs: amend HACS installation
* docs: amend HACS installation
2024-12-24 21:02:17 +08:00
Li Shuzhen
9af59e28bd
docs: specify the download process in HACS installation ( #371 )
...
* docs: specify the download process in HACS installation
* docs: revoke login authorization
2024-12-23 22:40:57 +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
afef709839
doc: update changelog and version to v0.1.4b0 ( #312 )
v0.1.4b0
2024-12-21 11:41:24 +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
f87e746188
fix: fix miot cloud token refresh ( #307 )
2024-12-21 10:42:48 +08:00