SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

Correct errors in the newly added device.

Open hsakoh opened this issue 1 year ago • 1 comments

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 avatar Nov 09 '24 17:11 hsakoh

@Minsheng Could you review this pull request?

hsakoh avatar Nov 09 '24 17:11 hsakoh

Include this in #405.

hsakoh avatar May 01 '25 16:05 hsakoh