This commit is contained in:
Otto Winter 2018-11-23 23:19:54 +01:00
parent 5fad49ec30
commit 607eec0abd
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E
2 changed files with 2 additions and 2 deletions

View file

@ -456,7 +456,7 @@ def _get_mqtt_config_impl():
mqtt_config = req.json()['data']
return {
'ssl': mqtt_config['ssl'],
'host': mqtt_config['host'] + ':' + mqtt_config['port'],
'host': mqtt_config['host'] + ':' + str(mqtt_config['port']),
'username': mqtt_config.get('username', ''),
'password': mqtt_config.get('password', '')
}

View file

@ -464,7 +464,7 @@
</p>
{% else %}
<p>
It looks like you've already set up MQTT, the values below are taken from your "{{ escape(mqtt_config['addon']) }}" add-on.
It looks like you've already set up MQTT, the values below are taken from your HassIO MQTT add-on.
</p>
{% end %}
<div class="input-field col s12">