Skip to content

Commit 77ff2da

Browse files
committed
fix formatting in sensor
1 parent c7d4094 commit 77ff2da

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

sensor.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,13 @@ async def async_setup_entry(
8585
EntityType.FELAQUA,
8686
]:
8787

88-
voltage_batteries_full = cast(float, config_entry.options.get(ATTR_VOLTAGE_FULL, SURE_BATT_VOLTAGE_FULL))
89-
voltage_batteries_low = cast(float, config_entry.options.get(ATTR_VOLTAGE_LOW, SURE_BATT_VOLTAGE_LOW))
88+
voltage_batteries_full = cast(
89+
float,
90+
config_entry.options.get(ATTR_VOLTAGE_FULL, SURE_BATT_VOLTAGE_FULL),
91+
)
92+
voltage_batteries_low = cast(
93+
float, config_entry.options.get(ATTR_VOLTAGE_LOW, SURE_BATT_VOLTAGE_LOW)
94+
)
9095

9196
entities.append(
9297
Battery(

0 commit comments

Comments
 (0)