Skip to content

Correct errors in the newly added device. #362

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

Closed
wants to merge 2 commits into from

Conversation

hsakoh
Copy link

@hsakoh hsakoh commented Nov 9, 2024

These are based on assumptions about product features, as I do not have detailed knowledge of the actual API or Webhook specifications.
The following changes have been made.

  • changeParam command for K10+ Pro Combo

    • Remove the waterLevel property.
      It seems to have been left unchanged when copied from the S10.
  • Webhook payload for 4 Air Purifier models

    • Remove the drying property.
    • Modify the description of the mode property to match the StatusAPI.
      These also seem to have been left unchanged when copied from the Evaporative Humidifier (Auto-refill).
      Or, does the StatusAPI have a range of 1 to 4, while the Webhook has a range of 1 to 8 (including fan levels)?

@hsakoh
Copy link
Author

hsakoh commented Nov 9, 2024

@Minsheng Could you review this pull request?

  * Remove the `waterLevel` property.
  It seems this was forgotten when copying from the S10 model.
  * Remove the `drying` property.
  * Modify the description of the `mode` property to match the Status API.
  These changes appear to have been overlooked when copying from the Evaporative Humidifier (Auto-refill) model.
@hsakoh hsakoh mentioned this pull request Apr 25, 2025
@hsakoh
Copy link
Author

hsakoh commented May 1, 2025

Include this in #405.

@hsakoh hsakoh closed this May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant