diff --git a/packages/modules/consumers/generic/http/consumer.py b/packages/modules/consumers/generic/http/consumer.py index ae7becc93f..2d97ce2262 100644 --- a/packages/modules/consumers/generic/http/consumer.py +++ b/packages/modules/consumers/generic/http/consumer.py @@ -30,8 +30,6 @@ def initializer(): nonlocal session, sim_counter nonlocal get_power, get_imported, get_exported, get_currents, get_temperatures nonlocal post_set_power_limit, post_switch_on, post_switch_off - if not config.configuration.url.startswith('https://'): - raise ValueError("Only HTTPS URLs allowed for security") session = req.get_http_session() sim_counter = SimCounterConsumer(config.id, ComponentType.CONSUMER) diff --git a/packages/modules/consumers/generic/json/consumer.py b/packages/modules/consumers/generic/json/consumer.py index 29676e13e3..0f816f06a1 100644 --- a/packages/modules/consumers/generic/json/consumer.py +++ b/packages/modules/consumers/generic/json/consumer.py @@ -47,8 +47,6 @@ def post_function(params: dict): def initializer(): nonlocal session, sim_counter nonlocal jq_set_power_limit, jq_switch_on, jq_switch_off - if not config.configuration.url.startswith('https://'): - raise ValueError("Only HTTPS URLs allowed for security") session = req.get_http_session() sim_counter = SimCounterConsumer(config.id, ComponentType.CONSUMER)