mirror of
https://github.com/esphome/esphome.git
synced 2025-01-05 12:21:43 +01:00
Message
This commit is contained in:
parent
ab47775475
commit
2fbb149c3c
2 changed files with 9 additions and 2 deletions
|
@ -13,8 +13,8 @@ I2CDevice = pins.I2CDevice
|
||||||
|
|
||||||
CONFIG_SCHEMA = vol.Schema({
|
CONFIG_SCHEMA = vol.Schema({
|
||||||
cv.GenerateID(): cv.declare_variable_id(I2CComponent),
|
cv.GenerateID(): cv.declare_variable_id(I2CComponent),
|
||||||
vol.Required(CONF_SDA, default='SDA'): pins.input_pullup_pin,
|
vol.Optional(CONF_SDA, default='SDA'): pins.input_pullup_pin,
|
||||||
vol.Required(CONF_SCL, default='SCL'): pins.input_pullup_pin,
|
vol.Optional(CONF_SCL, default='SCL'): pins.input_pullup_pin,
|
||||||
vol.Optional(CONF_FREQUENCY): vol.All(cv.frequency, vol.Range(min=0, min_included=False)),
|
vol.Optional(CONF_FREQUENCY): vol.All(cv.frequency, vol.Range(min=0, min_included=False)),
|
||||||
vol.Optional(CONF_SCAN): cv.boolean,
|
vol.Optional(CONF_SCAN): cv.boolean,
|
||||||
|
|
||||||
|
|
|
@ -463,8 +463,15 @@
|
||||||
(leave them empty if you're not using any authentication).
|
(leave them empty if you're not using any authentication).
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
<p>
|
||||||
|
esphomelib connects to your Home Assistant instance via
|
||||||
|
<a href="https://www.home-assistant.io/docs/mqtt/">MQTT</a>. In this section you will have
|
||||||
|
to tell esphomelib which MQTT "broker" to use.
|
||||||
|
|
||||||
|
</p>
|
||||||
<p>
|
<p>
|
||||||
It looks like you've already set up MQTT, the values below are taken from your HassIO MQTT add-on.
|
It looks like you've already set up MQTT, the values below are taken from your HassIO MQTT add-on.
|
||||||
|
Please confirm they are correct and press CONTINUE.
|
||||||
</p>
|
</p>
|
||||||
{% end %}
|
{% end %}
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
|
|
Loading…
Reference in a new issue