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:
Joakim Plate 2019-04-24 18:08:41 +02:00 committed by Paulus Schoutsen
parent 2863ac1068
commit e11e6e1b04
4 changed files with 145 additions and 51 deletions

View file

@ -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
}
}]
}, {