Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cd): add water_level and temperature option with customize lua_protocol #345

Merged
merged 12 commits into from
Jan 15, 2025

Conversation

wuwentao
Copy link
Member

  1. add set customize option: lua_protocol, default is auto, user can manual set it to old or new, I'm not sure whether we will have more than two options, just use a str option for future.

for auto mode, use subtype and model to process current github issue known device.

  1. add water_level attribute, current only can display the raw value in debug log, I'm not sure the 4 level range now.
  2. add more attributes in debug log output, we can add it in future.

fix:
wuwentao/midea_ac_lan#347
wuwentao/midea_ac_lan#420
wuwentao/midea_ac_lan#425

@wuwentao wuwentao added this to the v6.0.4 milestone Dec 25, 2024
@github-actions github-actions bot added the enhancement New feature or request label Dec 25, 2024
Copy link

codecov bot commented Dec 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 99 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
midealocal/devices/cd/__init__.py 0.00% 56 Missing ⚠️
midealocal/devices/cd/message.py 0.00% 43 Missing ⚠️
Files with missing lines Coverage Δ
midealocal/devices/cd/message.py 0.00% <0.00%> (ø)
midealocal/devices/cd/__init__.py 0.00% <0.00%> (ø)

@wuwentao wuwentao merged commit db2fdf0 into main Jan 15, 2025
7 checks passed
@wuwentao wuwentao deleted the add_cd_feature branch January 15, 2025 07:14
wuwentao added a commit that referenced this pull request Jan 15, 2025
🤖 I have created a release *beep* *boop*
---


##
[6.1.0](v6.0.3...v6.1.0)
(2025-01-15)


### Features

* **c3:** add disinfect and fix tbh set error
([#340](#340))
([5f5224b](5f5224b))
* **cd:** add water_level and temperature option with customize
lua_protocol
([#345](#345))
([db2fdf0](db2fdf0))
* **cloud:** add plugin download for meiju and smarthome
([#336](#336))
([30de473](30de473))
* **db:** add new attributes for db device
([#329](#329))
([da38007](da38007))
* **dc:** add new attributes for exist dc device
([#330](#330))
([10c15b6](10c15b6))
* **e1:** add new attributes for e1 device
([#337](#337))
([9afa160](9afa160))
* **ed:** add all query msg for 0xED device
([#328](#328))
([30ba082](30ba082))


### Bug Fixes

* fix:
([db2fdf0](db2fdf0))
* **device:** no supported protocol caused high cpu usage
([#346](#346))
([013aee4](013aee4))


### Documentation

* add collected lua scripts
([#331](#331))
([e1a3855](e1a3855))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant