mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-15 22:10:43 +08:00
fix: Update specv2entity.py for missing "binary_sensor"
fix: Update specv2entity.py for missing "binary_sensor" fix typo which forgets to adding "binary_sensor" entity in `SPEC_PROP_TRANS_MAP`.
This commit is contained in:
parent
9cc2c52d44
commit
3546517093
@ -337,6 +337,10 @@ SPEC_PROP_TRANS_MAP: dict[str, dict | str] = {
|
||||
'format': {'int', 'float'},
|
||||
'access': {'read'}
|
||||
},
|
||||
'binary_sensor': {
|
||||
'format': {'bool'},
|
||||
'access': {'read'}
|
||||
},
|
||||
'switch': {
|
||||
'format': {'bool'},
|
||||
'access': {'read', 'write'}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user