Skip to content

Commit 1e4025d

Browse files
committed
Remove wrong comment on non-existing parameter.
1 parent b4f81fb commit 1e4025d

File tree

5 files changed

+1
-10
lines changed

5 files changed

+1
-10
lines changed

custom_components/modbus/climate.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -467,9 +467,6 @@ async def async_set_temperature(self, **kwargs: Any) -> None:
467467

468468
async def _async_update(self) -> None:
469469
"""Update Target & Current Temperature."""
470-
# remark "now" is a dummy parameter to avoid problems with
471-
# async_track_time_interval
472-
473470
self._attr_target_temperature = await self._async_read_register(
474471
CALL_TYPE_REGISTER_HOLDING,
475472
self._target_temperature_register[

custom_components/modbus/cover.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,6 @@ async def async_close_cover(self, **kwargs: Any) -> None:
123123

124124
async def _async_update(self) -> None:
125125
"""Update the state of the cover."""
126-
# remark "now" is a dummy parameter to avoid problems with
127-
# async_track_time_interval
128126
result = await self._hub.async_pb_call(
129127
self._slave, self._address, 1, self._input_type
130128
)

custom_components/modbus/entity.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,8 +387,6 @@ async def async_turn_off(self, **kwargs: Any) -> None:
387387

388388
async def _async_update(self) -> None:
389389
"""Update the entity state."""
390-
# remark "now" is a dummy parameter to avoid problems with
391-
# async_track_time_interval
392390
if not self._verify_active:
393391
self._attr_available = True
394392
return

custom_components/modbus/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"domain": "modbus",
33
"name": "Modbus",
4-
"version": "0.0.6",
4+
"version": "0.0.7",
55
"codeowners": ["@janiversen"],
66
"documentation": "https://www.home-assistant.io/integrations/modbus",
77
"iot_class": "local_polling",

custom_components/modbus/sensor.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ async def async_added_to_hass(self) -> None:
106106

107107
async def _async_update(self) -> None:
108108
"""Update the state of the sensor."""
109-
# remark "now" is a dummy parameter to avoid problems with
110-
# async_track_time_interval
111109
self._cancel_call = None
112110
raw_result = await self._hub.async_pb_call(
113111
self._slave, self._address, self._count, self._input_type

0 commit comments

Comments
 (0)