Skip to content

Commit

Permalink
fix: Update specv2entity.py for missing "binary_sensor"
Browse files Browse the repository at this point in the history
fix: Update specv2entity.py for missing "binary_sensor"

fix typo which forgets to  adding "binary_sensor" entity in `SPEC_PROP_TRANS_MAP`.
  • Loading branch information
micturkey authored Dec 19, 2024
1 parent 9cc2c52 commit 3546517
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/xiaomi_home/miot/specs/specv2entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,10 @@
'format': {'int', 'float'},
'access': {'read'}
},
'binary_sensor': {
'format': {'bool'},
'access': {'read'}
},
'switch': {
'format': {'bool'},
'access': {'read', 'write'}
Expand Down

0 comments on commit 3546517

Please sign in to comment.