Skip to content

Commit bed0c80

Browse files
committed
Merge remote-tracking branch 'upstream/main' into develop
2 parents e853f7d + ceb3f66 commit bed0c80

File tree

4 files changed

+44
-29
lines changed

4 files changed

+44
-29
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Change Log
22

3+
## 0.9.3
4+
5+
## What's Changed
6+
* Restore phone login by @nanomad in https://github.com/SAIC-iSmart-API/saic-python-mqtt-gateway/pull/334
7+
8+
## 0.9.2
9+
10+
### What's Changed
11+
* Migrated Last Charge SoC kWh sensor to 'measurement' state_class
12+
13+
## 0.9.1
14+
15+
### What's Changed
16+
* Fixed a bug in message processing when no messages where found on SAIC servers
17+
318
## 0.9.0
419

520
### What's Changed

poetry.lock

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "saic-python-mqtt-gateway"
3-
version = "0.7.2-rc"
3+
version = "0.9.3"
44
description = "A service that queries the data from an MG iSMART account and publishes the data over MQTT and to other sources"
55
authors = [
66
{ name = "Giovanni Condello", email = "[email protected]" }
@@ -16,7 +16,7 @@ classifiers = [
1616

1717
requires-python = '>=3.12,<4.0'
1818
dependencies = [
19-
"saic-ismart-client-ng (>=0.8.2,<0.9.0)",
19+
"saic-ismart-client-ng (>=0.9.1,<0.10.0)",
2020
'httpx (>=0.28.1,<0.29.0)',
2121
'gmqtt (>=0.7.0,<0.8.0)',
2222
'inflection (>=0.5.1,<0.6.0)',
@@ -35,7 +35,7 @@ requires-poetry = '>=2.0,<3.0'
3535
pytest = "^8.2.2"
3636
mock = "^5.1.0"
3737
coverage = "^7.5.4"
38-
ruff = "^0.9.1"
38+
ruff = "^0.11.12"
3939
pytest-cov = "^6.0.0"
4040
pytest-asyncio = "^0.25.2"
4141
pytest-mock = "^3.14.0"
@@ -46,7 +46,7 @@ pylint = "^3.3.6"
4646
saic-ismart-client-ng = { develop = true }
4747

4848
[build-system]
49-
requires = ["poetry-core>=1.0.0"]
49+
requires = ["poetry-core>=2.0.0"]
5050
build-backend = "poetry.core.masonry.api"
5151

5252
[tool.pytest.ini_options]

src/integrations/home_assistant/discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def __publish_ha_discovery_messages_real(self) -> None:
335335
mqtt_topics.DRIVETRAIN_LAST_CHARGE_ENDING_POWER,
336336
"Last Charge SoC kWh",
337337
device_class="ENERGY_STORAGE",
338-
state_class="total_increasing",
338+
state_class="measurement",
339339
icon="mdi:battery-charging-70",
340340
unit_of_measurement="kWh",
341341
)

0 commit comments

Comments
 (0)