adonno / tagreader

Simple to build/use NFC tag reader, specially created for Home Assistant
https://adonno.com
GNU General Public License v3.0
1.13k stars 176 forks source link

Edit .YAML in ESPHome in HA #144

Closed Rowleys closed 2 years ago

Rowleys commented 2 years ago

Hi, When I go to edit the YAML in HA it just shows this ..

`substitutions: name: tagreader-db4ead packages: adonno.tag_reader: github://adonno/tagreader/tagreader.yaml esphome: name_add_mac_suffix: false

wifi: ssid: !secret wifi_ssid password: !secret wifi_password`

Is this right ?

Thanks

adonno commented 2 years ago

Hello,

yes, that is right. ESPHome can't load the code that actually runs on the device, but it can identify it and knows that it's related to the tag reader project on GitHub.

so whenever you flash your device it goes on GitHub pulls the default YAML from there and your changes will overrule the default YAML . Say you want to add a sensor? No need to copy the whole YAML, add the sensor and you should be good to go