* Add VAD sensitivity option to VoIP devices * Use select entitiy for VAD sensitivity * Add sensitivity to tests * Add to assist pipeline tests * Update homeassistant/components/assist_pipeline/select.py Co-authored-by: Paulus Schoutsen <balloob@gmail.com> * Update tests/components/voip/test_voip.py --------- Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"description": "Receive Voice over IP calls to interact with Assist."
|
|
}
|
|
},
|
|
"abort": {
|
|
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]"
|
|
}
|
|
},
|
|
"entity": {
|
|
"binary_sensor": {
|
|
"call_in_progress": {
|
|
"name": "Call in progress"
|
|
}
|
|
},
|
|
"switch": {
|
|
"allow_call": {
|
|
"name": "Allow calls"
|
|
}
|
|
},
|
|
"select": {
|
|
"pipeline": {
|
|
"name": "[%key:component::assist_pipeline::entity::select::pipeline::name%]",
|
|
"state": {
|
|
"preferred": "[%key:component::assist_pipeline::entity::select::pipeline::state::preferred%]"
|
|
}
|
|
},
|
|
"vad_sensitivity": {
|
|
"name": "[%key:component::assist_pipeline::entity::select::vad_sensitivity::name%]",
|
|
"state": {
|
|
"default": "[%key:component::assist_pipeline::entity::select::vad_sensitivity::state::default%]",
|
|
"aggressive": "[%key:component::assist_pipeline::entity::select::vad_sensitivity::state::aggressive%]",
|
|
"relaxed": "[%key:component::assist_pipeline::entity::select::vad_sensitivity::state::relaxed%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"sip_port": "SIP port"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|