mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 05:54:56 +01:00
Fix
This commit is contained in:
parent
5fad49ec30
commit
607eec0abd
2 changed files with 2 additions and 2 deletions
|
@ -456,7 +456,7 @@ def _get_mqtt_config_impl():
|
||||||
mqtt_config = req.json()['data']
|
mqtt_config = req.json()['data']
|
||||||
return {
|
return {
|
||||||
'ssl': mqtt_config['ssl'],
|
'ssl': mqtt_config['ssl'],
|
||||||
'host': mqtt_config['host'] + ':' + mqtt_config['port'],
|
'host': mqtt_config['host'] + ':' + str(mqtt_config['port']),
|
||||||
'username': mqtt_config.get('username', ''),
|
'username': mqtt_config.get('username', ''),
|
||||||
'password': mqtt_config.get('password', '')
|
'password': mqtt_config.get('password', '')
|
||||||
}
|
}
|
||||||
|
|
|
@ -464,7 +464,7 @@
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>
|
<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>
|
</p>
|
||||||
{% end %}
|
{% end %}
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
|
|
Loading…
Reference in a new issue