mirror of
https://github.com/esphome/esphome.git
synced 2025-07-09 16:43:07 +01:00
Add generate home assistant config command (#208)
* Add generate home assistant config command * Lint * Lint
This commit is contained in:
esphomeyaml
__main__.py
components
binary_sensor
__init__.pyesp32_ble_tracker.pyesp32_touch.pygpio.pynextion.pypn532.pyrdm6300.pyremote_receiver.pystatus.pytemplate.py
cover
fan
light
mqtt.pysensor
__init__.pyadc.pyads1115.pybh1750.pyble_rssi.pybme280.pybme680.pybmp085.pybmp280.pycse7766.pydallas.pydht.pydht12.pyduty_cycle.pyesp32_hall.pyhdc1080.pyhlw8012.pyhmc5883l.pyhtu21d.pyhx711.pyina219.pyina3221.pymax6675.pymhz19.pympu6050.pymqtt_subscribe.pyms5611.pypmsx003.pypulse_counter.pyrotary_encoder.pysht3xd.pytcs34725.pytemplate.pytsl2561.pyultrasonic.pyuptime.pywifi_signal.pyxiaomi_miflora.pyxiaomi_mijia.py
switch
text_sensor
dashboard
espota2.py@ -21,3 +21,7 @@ def to_code(config):
|
||||
yield
|
||||
rhs = hub.make_presence_sensor(config[CONF_NAME], make_address_array(config[CONF_MAC_ADDRESS]))
|
||||
binary_sensor.register_binary_sensor(rhs, config)
|
||||
|
||||
|
||||
def to_hass_config(data, config):
|
||||
return binary_sensor.core_to_hass_config(data, config)
|
||||
|
Reference in New Issue
Block a user