From dbedf0d2f1958766a6e6b68b9154f10b58140de1 Mon Sep 17 00:00:00 2001 From: Nicu Hodos Date: Mon, 7 Oct 2024 22:01:25 +0200 Subject: [PATCH] fix typo --- library.json | 2 +- src/ha.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.json b/library.json index e9134ae..73d2f45 100644 --- a/library.json +++ b/library.json @@ -1,7 +1,7 @@ { "$schema": "https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/schema/library.json", "name": "ha-mqtt", - "version": "1.2.0", + "version": "1.3.0", "description": "Home Assistant classes for integration with MQTT auto discovery", "repository": { "type": "git", diff --git a/src/ha.h b/src/ha.h index c526e6d..c9a99c4 100644 --- a/src/ha.h +++ b/src/ha.h @@ -180,7 +180,7 @@ namespace Ha { return *this; } - Builder& withUnitMseasure(const char* value) { + Builder& withUnitMeasure(const char* value) { cmp->unitMeasure = value; return *this; }