From 9062f9661ba6ab8bef8c60378d760fc259001c00 Mon Sep 17 00:00:00 2001 From: "firstof9@gmail.com" Date: Sun, 8 Dec 2024 19:40:08 -0700 Subject: [PATCH] formatting --- custom_components/openei/const.py | 2 +- tests/test_sensors.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/custom_components/openei/const.py b/custom_components/openei/const.py index 5fdb446..abe2b1b 100644 --- a/custom_components/openei/const.py +++ b/custom_components/openei/const.py @@ -94,7 +94,7 @@ name="Fixed Charge (first meter)", icon="mdi:cash-multiple", entity_category=EntityCategory.DIAGNOSTIC, - ), + ), } BINARY_SENSORS: Final[dict[str, BinarySensorEntityDescription]] = { diff --git a/tests/test_sensors.py b/tests/test_sensors.py index 66c8efe..79def72 100644 --- a/tests/test_sensors.py +++ b/tests/test_sensors.py @@ -42,4 +42,4 @@ async def test_sensors(hass, mock_api, caplog): state = hass.states.get(FAKE_FIXEDCHARGE_SENSOR) assert state is not None - assert state.state == "16.91" \ No newline at end of file + assert state.state == "16.91"