Skip to content

Commit

Permalink
Update usermod_temperature.h
Browse files Browse the repository at this point in the history
Typo in line 149
  • Loading branch information
srg74 authored May 27, 2022
1 parent 7d25b23 commit 43c5de0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usermods/Temperature/usermod_temperature.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class UsermodTemperature : public Usermod {
strcpy(buf, mqttDeviceTopic);
strcat_P(buf, PSTR("/temperature"));
json[F("state_topic")] = buf;
json[F("device_class")] = F("tempearature");
json[F("device_class")] = F("temperature");
json[F("unique_id")] = escapedMac.c_str();
json[F("unit_of_measurement")] = F("°C");
payload_size = serializeJson(json, json_str);
Expand Down

0 comments on commit 43c5de0

Please sign in to comment.