Browse Source

fix warning; add more info

rules-rpn
abmantis 5 years ago
parent
commit
2b50e0dac9
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      code/espurna/homeassistant.ino

+ 3
- 1
code/espurna/homeassistant.ino View File

@ -259,7 +259,9 @@ void _haGetDeviceConfig(JsonObject& config) {
config.createNestedArray("identifiers").add(identifier);
config["name"] = _haFixName(getSetting("hostname"));
config["manufacturer"] = "Espurna";
config["manufacturer"] = String("Espurna");
config["model"] = getBoardName();
config["sw_version"] = String(APP_VERSION) + " (" + getCoreVersion() + ")";
}
void _haSend() {


Loading…
Cancel
Save