mirror of
https://github.com/esphome/esphome.git
synced 2025-06-20 15:25:41 +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@ -51,3 +51,7 @@ def to_code(config):
|
||||
|
||||
|
||||
BUILD_FLAGS = '-DUSE_ESP32_TOUCH_BINARY_SENSOR'
|
||||
|
||||
|
||||
def to_hass_config(data, config):
|
||||
return binary_sensor.core_to_hass_config(data, config)
|
||||
|
Reference in New Issue
Block a user