Skip to content

Commit eed7338

Browse files
committed
fix merged aiobmsble branch
1 parent 479b3f7 commit eed7338

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

custom_components/bms_ble/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@
142142
"loggers": ["bleak_retry_connector", "aiobmsble"],
143143
"quality_scale": "silver",
144144
"requirements": [
145-
"aiobmsble@git+https://github.com/patman15/aiobmsble.git@feat-SunGoldPower-support"
145+
"aiobmsble@git+https://github.com/patman15/aiobmsble.git@main"
146146
],
147147
"version": "2.13.0-beta.4"
148148
}

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
homeassistant==2025.9.0
2-
aiobmsble @ git+https://github.com/patman15/aiobmsble.git@feat-SunGoldPower-support
2+
aiobmsble @ git+https://github.com/patman15/aiobmsble.git@main
33
ruff~=0.15.0
44
pylint~=4.0.0
55
pylint-per-file-ignores~=1.4.0

tests/test_sensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ async def patch_async_update(_self) -> BMSSample:
9393
entity.entity_id: entity.state for entity in hass.states.async_all(["sensor"])
9494
}
9595
assert data == {
96-
f"{DEV_NAME}_{ATTR_VOLTAGE}": "12",
96+
f"{DEV_NAME}_{ATTR_VOLTAGE}": "12.0",
9797
f"{DEV_NAME}_battery": STATE_UNKNOWN,
9898
f"{DEV_NAME}_{ATTR_TEMPERATURE}": "27.182",
9999
f"{DEV_NAME}_{ATTR_CURRENT}": "1.5",

0 commit comments

Comments
 (0)