Skip to content

Commit

Permalink
Merge pull request #5822 from SwoopX/xiaomiocfix
Browse files Browse the repository at this point in the history
Add `config/enrolled` resource item for MCCGQ14LM to allow sensor usage
  • Loading branch information
manup authored Feb 26, 2022
2 parents 84398a4 + 9357fe1 commit 1665c36
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions devices/xiaomi/xiaomi_mccgq14lm_openclose_sensor.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,15 @@
"awake": true,
"parse": {"fn": "xiaomi:special", "ep": 1, "at": "0xff01", "idx": "0x01", "script": "xiaomi_battery.js"}
},
{
"name": "config/enrolled",
"default": 1
},
{
"name": "config/on"
},
{
"name": "config/pending",
"description": "Pending tasks to configure the device."
"name": "config/pending"
},
{
"name": "config/reachable"
Expand Down

0 comments on commit 1665c36

Please sign in to comment.