mirror of
https://github.com/jpeletier/koolnova2mqtt.git
synced 2026-01-11 15:11:43 +00:00
fix unit of measurement
This commit is contained in:
@@ -246,7 +246,7 @@ func (b *Bridge) Start() error {
|
|||||||
"name": name,
|
"name": name,
|
||||||
"device_class": "temperature",
|
"device_class": "temperature",
|
||||||
"state_topic": currentTempTopic,
|
"state_topic": currentTempTopic,
|
||||||
"unit_of_measurement": "ºC",
|
"unit_of_measurement": "°C",
|
||||||
"unique_id": name,
|
"unique_id": name,
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -256,7 +256,7 @@ func (b *Bridge) Start() error {
|
|||||||
"name": name,
|
"name": name,
|
||||||
"device_class": "temperature",
|
"device_class": "temperature",
|
||||||
"state_topic": targetTempTopic,
|
"state_topic": targetTempTopic,
|
||||||
"unit_of_measurement": "ºC",
|
"unit_of_measurement": "°C",
|
||||||
"unique_id": name,
|
"unique_id": name,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user