Currently, we require a host and ssl as separate arguments for FlexMeasuresClient, something that we inherit from the HTTP library that we use internally.
As proposed by @Flix6x (see comment below), we should copy the util function get_host_and_ssl_from_url() (now part of our ha integration, here) to the main package and expose a single url argument for anybody using the client.
Originally posted by @Flix6x in FlexMeasures/flexmeasures-ha-integration#10 (comment)
Currently, we require a
hostandsslas separate arguments forFlexMeasuresClient, something that we inherit from the HTTP library that we use internally.As proposed by @Flix6x (see comment below), we should copy the util function
get_host_and_ssl_from_url()(now part of our ha integration, here) to the main package and expose a singleurlargument for anybody using the client.Originally posted by @Flix6x in FlexMeasures/flexmeasures-ha-integration#10 (comment)