From 77e175051fa410641e7a2e2642b4480ba67ec6c7 Mon Sep 17 00:00:00 2001 From: Eliseo Martelli Date: Wed, 30 Jan 2019 09:59:22 +0100 Subject: [PATCH] Update cli.py (#43) --- googledevices/cli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googledevices/cli/cli.py b/googledevices/cli/cli.py index 71c3ad7..f4252fb 100644 --- a/googledevices/cli/cli.py +++ b/googledevices/cli/cli.py @@ -91,7 +91,7 @@ def debug(host, test, timeout=30): @commands.command('alarm-volume') @click.argument('host', required=1) @click.option('--mode', '-M', type=str, required=1, help="'get' or 'set'") -@click.option('--volume', '-V', type=int) +@click.option('--volume', '-V', type=float) def alarm_volume(host, mode, volume=None): """Get or set alarm volume.""" import googledevices.cli.commands.alarm_volume as command