Skip to content

Commit 05ef2c3

Browse files
committed
Replace dummy function-arg with "_"
1 parent 98170f6 commit 05ef2c3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

plugwise/__init__.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -711,9 +711,7 @@ async def set_temperature(self, loc_id: str, items: dict[str, float]) -> None:
711711

712712
await self._request(uri, method="put", data=data)
713713

714-
async def set_number_setpoint(
715-
self, key: str, dummy: str, temperature: float
716-
) -> None:
714+
async def set_number_setpoint(self, key: str, _: str, temperature: float) -> None:
717715
"""Set the max. Boiler or DHW setpoint on the Central Heating boiler."""
718716
temp = str(temperature)
719717
thermostat_id: str | None = None
@@ -730,9 +728,7 @@ async def set_number_setpoint(
730728
data = f"<thermostat_functionality><setpoint>{temp}</setpoint></thermostat_functionality>"
731729
await self._request(uri, method="put", data=data)
732730

733-
async def set_temperature_offset(
734-
self, dummy: str, dev_id: str, offset: float
735-
) -> None:
731+
async def set_temperature_offset(self, _: str, dev_id: str, offset: float) -> None:
736732
"""Set the Temperature offset for thermostats that support this feature."""
737733
value = str(offset)
738734
uri = f"{APPLIANCES};id={dev_id}/offset;type=temperature_offset"

0 commit comments

Comments
 (0)