From 85324a10bf4e27fb10674664a917a6ec65f26c60 Mon Sep 17 00:00:00 2001 From: Felix Boerner Date: Sat, 21 Dec 2019 22:08:45 +0100 Subject: [PATCH] fix: add missing types for click options Resolves #4 --- importer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/importer.py b/importer.py index 41b17c2..bdfe02d 100755 --- a/importer.py +++ b/importer.py @@ -203,19 +203,24 @@ def add_devices_into_ha_bridge(self, ha_bridge_devices_configuration): @click.command() @click.option('--loxone-miniserver', required=True, + type=str, help='Set IP address of Loxone MiniServer') @click.option('--loxone-username', required=True, + type=str, help='Set username for Loxone MiniServer login') @click.option('--loxone-password', required=True, + type=str, help='Set password for Loxone MiniServer login') @click.option('--ha-bridge-server', required=True, + type=str, default='localhost', help='Set IP address of HA-Bridge server (Default: localhost)') @click.option('--ha-bridge-port', required=True, + type=int, default=8080, help='Set port of HA-Bridge server (Default: 8080)') @click.option('--verbose',