mirror of
https://github.com/XiaoMi/ha_xiaomi_home.git
synced 2026-01-18 16:10:44 +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'},
|
'format': {'int', 'float'},
|
||||||
'access': {'read'}
|
'access': {'read'}
|
||||||
},
|
},
|
||||||
|
'binary_sensor': {
|
||||||
|
'format': {'bool'},
|
||||||
|
'access': {'read'}
|
||||||
|
},
|
||||||
'switch': {
|
'switch': {
|
||||||
'format': {'bool'},
|
'format': {'bool'},
|
||||||
'access': {'read', 'write'}
|
'access': {'read', 'write'}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user