Volume trait for google assistant (#23237)
* Add action.devices.traits.Volume * Drop media player from brightness trait * Factor out commands into separate functions * Drop support for explicit mute
This commit is contained in:
parent
2863ac1068
commit
e11e6e1b04
4 changed files with 145 additions and 51 deletions
|
@ -319,9 +319,9 @@ def test_execute_request(hass_fixture, assistant_client, auth_header):
|
|||
}],
|
||||
"execution": [{
|
||||
"command":
|
||||
"action.devices.commands.BrightnessAbsolute",
|
||||
"action.devices.commands.setVolume",
|
||||
"params": {
|
||||
"brightness": 70
|
||||
"volumeLevel": 70
|
||||
}
|
||||
}]
|
||||
}, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue