From 8fb01ead7422bae497e25454bdc867ce699354ac Mon Sep 17 00:00:00 2001 From: Aaron Bach Date: Mon, 1 Apr 2024 12:33:52 -0600 Subject: [PATCH] fix: fix incorrect required configuration parameters (#936) --- ecowitt2mqtt/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecowitt2mqtt/config.py b/ecowitt2mqtt/config.py index bd2e20a4..093725b4 100644 --- a/ecowitt2mqtt/config.py +++ b/ecowitt2mqtt/config.py @@ -24,8 +24,8 @@ CONF_DIAGNOSTICS, CONF_GATEWAYS, CONF_HASS_DISCOVERY, - CONF_MQTT_BROKER, CONF_MQTT_PASSWORD, + CONF_MQTT_TOPIC, CONF_MQTT_USERNAME, CONF_VERBOSE, DEFAULT_BOOLEAN_BATTERY_TRUE_VALUE, @@ -51,7 +51,7 @@ CONF_DEFAULT = "default" REQUIRES_AT_LEAST_ONE_OF = ( - CONF_MQTT_BROKER, + CONF_MQTT_TOPIC, CONF_HASS_DISCOVERY, )