feat: add tv-bov device as television

This commit is contained in:
LiShuzhen 2025-12-16 10:24:34 +08:00
parent 24ef393474
commit 5e78152551

View File

@ -371,6 +371,42 @@ SPEC_DEVICE_TRANS_MAP: dict = {
},
'entity': 'television'
},
'tv-box':{
'required': {
'speaker': {
'required': {
'properties': {
'volume': {'read', 'write'}
}
},
'optional': {
'properties': {'mute'}
}
},
'tv-box': {
'required': {
'actions': {'turn-off'}
},
'optional': {
'properties': {'mode'},
'actions': {'turn-on'}
}
}
},
'optional': {
'play-control': {
'required': {
'properties': {
'playing-state': {'read', 'write'}
}
},
'optional': {
'actions': {'play', 'pause', 'stop', 'next', 'previous'}
}
}
},
'entity': 'television'
},
'watch': {
'required': {
'watch': {