Skip to content

Commit

Permalink
Update sensor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaae authored Nov 14, 2024
1 parent f8a094f commit c6849b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/truenas/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ async def start(self) -> None:
self.coordinator.api.query, f"cloudsync/id/{self._data['id']}/sync", "post"
)

async def abort(self) -> None:
async def stop(self) -> None:
"""Abort cloudsync job."""
tmp_job = await self.hass.async_add_executor_job(
self.coordinator.api.query, f"cloudsync/id/{self._data['id']}"
Expand Down

0 comments on commit c6849b2

Please sign in to comment.