Rename bms_temperature_celcius to bms_temperature_celsius

Correct the spelling in the JBD and EcoFlow snapshots, the diagnostic tool, and the tests. UPS.from_dict maps the old name to the new name, so a client still reads data from an older server during an upgrade.

InfluxDB and Prometheus now receive this measurement under the new name.
This commit is contained in:
tim
2026-10-10 09:03:33 +02:00
parent 452a3bc207
commit f36bb2510c
16 changed files with 39 additions and 28 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ MOCK_RESPONSE = {
"help": "Date of Manufacture",
"info": "2023-01-15",
},
"bms_temperature_celcius": {
"bms_temperature_celsius": {
"help": "Temperature",
"label": "sensor",
"raw_values": {1: 25.0},
@@ -70,7 +70,7 @@ class TestReadData:
def test_multi_field_deserialized(self):
result = self._call()
items = dict(result["myups"].items())
f = items["bms_temperature_celcius"]
f = items["bms_temperature_celsius"]
assert isinstance(f, BMSMultiField)
assert f.raw_values == {1: 25.0}
assert f.label == "sensor"