Populating these options helps Home Assistant display the sensors better in the UI. The `publish_client` function has too many parameters as it is, making it difficult to keep track of which value is passed as which argument. Using a structure and designated initializers makes this a lot cleaner. |
||
---|---|---|
.vscode | ||
.gitignore | ||
constants.h | ||
gardensensor.ino | ||
isrgrootx1.pem | ||
mqtt_discovery.cpp | ||
mqtt_discovery.hpp | ||
values.cpp | ||
values.hpp |