Add C++ source note

This commit is contained in:
Otto Winter 2018-06-06 07:19:14 +02:00
parent eff1962232
commit e01e8dca01
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
2 changed files with 4 additions and 1 deletions

View File

@ -250,3 +250,4 @@ See Also
--------
- `Full source code <https://github.com/OttoWinter/esphomelib/blob/master/examples/custom-bmp180-sensor.cpp>`__
- `Edit this page on GitHub <https://github.com/OttoWinter/esphomedocs/blob/current/esphomeyaml/components/sensor/custom.rst>`__

View File

@ -27,7 +27,9 @@ Tips for using esphomeyaml
esphomeyaml livingroom.yaml run --upload-port 192.168.178.52
5. You can always find the source esphomeyaml generates under ``<NODE_NAME>/src/main.cpp``. It's even
possible to edit anything outside of the ``AUTO GENERATED CODE BEGIN/END`` lines for creating
:doc:`custom sensors </esphomeyaml/components/sensor/custom>`.
.. |secret| replace:: ``!secret``