Format volume playback param

This commit is contained in:
Ruben van de Ven 2019-11-13 11:46:49 +01:00
parent ab60d7a1cf
commit a264ceee51

View file

@ -1823,6 +1823,7 @@ class Story(object):
params = message.getParams().copy()
params['vol'] = params['vol'] * self.configuration.volume if 'vol' in params else self.configuration.volume
params['vol'] = "{:.4f}".format(params['vol'])
# self.hugvey.google.pause() # pause STT to avoid text events while decision is made
self.hugvey.sendCommand({