Document queued Acaia button actions (#184024)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Josef Zweck
2026-10-05 11:09:19 +02:00
committed by GitHub
co-authored by Copilot
parent e046bef003
commit df252d3192
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -61,4 +61,5 @@ class AcaiaButton(AcaiaEntity, ButtonEntity):
@override
async def async_press(self) -> None:
"""Handle the button press."""
# aioacaia queues button commands, so enqueueing cannot fail.
await self.entity_description.press_fn(self._scale)
@@ -40,7 +40,9 @@ rules:
action-exceptions:
status: exempt
comment: |
No custom actions are defined.
Button actions only enqueue commands; aioacaia writes them in a background task,
and entities are unavailable while the scale is disconnected, so there is no
failure to raise from the action.
config-entry-unloading: done
docs-configuration-parameters: done
docs-installation-parameters: done