Skip to content

Commit

Permalink
Add support for chuangmi.plug.hmi208 (rytilahti#693)
Browse files Browse the repository at this point in the history
  • Loading branch information
rytilahti authored and xvlady committed May 9, 2021
1 parent 5e7b9ec commit 2f3e16a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions miio/chuangmi_plug.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
MODEL_CHUANGMI_PLUG_V2 = "chuangmi.plug.v2"
MODEL_CHUANGMI_PLUG_HMI205 = "chuangmi.plug.hmi205"
MODEL_CHUANGMI_PLUG_HMI206 = "chuangmi.plug.hmi206"
MODEL_CHUANGMI_PLUG_HMI208 = "chuangmi.plug.hmi208"

AVAILABLE_PROPERTIES = {
MODEL_CHUANGMI_PLUG_V1: ["on", "usb_on", "temperature"],
Expand All @@ -26,6 +27,7 @@
MODEL_CHUANGMI_PLUG_V2: ["power", "temperature"],
MODEL_CHUANGMI_PLUG_HMI205: ["power", "temperature"],
MODEL_CHUANGMI_PLUG_HMI206: ["power", "temperature"],
MODEL_CHUANGMI_PLUG_HMI208: ["power", "usb_on", "temperature"],
}


Expand Down

0 comments on commit 2f3e16a

Please sign in to comment.