Browse Source

Fix some typos in the Hass info

pull/689/head
Ryan Jarvis 6 years ago
parent
commit
e4e19426ed
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      code/espurna/homeassistant.ino
  2. +1
    -1
      code/html/index.html

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

@ -26,7 +26,7 @@ void _haSendMagnitude(unsigned char i, JsonObject& config) {
config["platform"] = "mqtt";
config["device_class"] = "sensor";
config["state_topic"] = mqttTopic(magnitudeTopicIndex(i).c_str(), false);
config["unit_of_measurement"] = magnitudeUnits(type);
config["unit_of_measurement"] = String("\"") + magnitudeUnits(type) + String("\"");
}


+ 1
- 1
code/html/index.html View File

@ -857,7 +857,7 @@
<div class="pure-u-0 pure-u-lg-1-4"></div>
<div class="pure-u-1 pure-u-lg-3-4 hint">
These are the settings you should copy to your Home Assistant "configuration.yaml" file.
If any of the sections below (switch, light, sensor) already exists, do not dupplicate it,
If any of the sections below (switch, light, sensor) already exists, do not duplicate it,
simply copy the contents of the section below the ones already present.
</div>
</div>


Loading…
Cancel
Save