Influxdb integration config: Better config error handling

One or 2 days ago, I changed the host (incorrectly, as it needs to be a domain or ip without the protocol or port) to https://link.to.server, reloaded core, confirmed everything worked and called it a day. Today I updated HA and restarted it in the process, Now this triggered the config change and made the integration break.

Now for my feature request, the current result of having http(s):// or a port number in the host config is this:

Cannot connect to InfluxDB due to ‘<urllib3.connection.HTTPSConnection object at 0x7f081dc35720>: Failed to establish a new connection: [Errno -2] Name does not resolve’. Please check that the provided connection details (host, port, etc.) are correct and that your InfluxDB server is running and accessible. Retrying in 60 seconds.

There should either be some sanity check, if the provided information is sensible (e.g. host is either an FQDN or an IP address, no port or protocol), or the log should expose what the connection was made to.