1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-14 06:38:17 +00:00

Log esphomelib version and compilation time on boot

This commit is contained in:
Otto Winter 2018-10-10 20:04:50 +02:00
parent f7671f0c90
commit c0cad930b3
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E

View File

@ -15,7 +15,7 @@ from esphomeyaml.const import CONF_ARDUINO_VERSION, CONF_BOARD, CONF_BOARD_FLASH
ARDUINO_VERSION_ESP32_DEV
from esphomeyaml.core import ESPHomeYAMLError
from esphomeyaml.helpers import App, NoArg, Pvariable, add, const_char_p, esphomelib_ns, \
relative_path
relative_path, RawExpression
_LOGGER = logging.getLogger(__name__)
@ -252,3 +252,5 @@ def to_code(config):
automation.build_automation(trigger, NoArg, conf)
update_esphomelib_repo(config)
add(App.set_compilation_datetime(RawExpression('__DATE__ ", " __TIME__')))