mirror of
https://github.com/home-assistant/core.git
synced 2025-11-16 06:20:07 +00:00
Adjust button type hints in components (#74132)
This commit is contained in:
@@ -30,7 +30,7 @@ class AugustWakeLockButton(AugustEntityMixin, ButtonEntity):
|
||||
self._attr_name = f"{device.device_name} Wake"
|
||||
self._attr_unique_id = f"{self._device_id}_wake"
|
||||
|
||||
async def async_press(self, **kwargs):
|
||||
async def async_press(self) -> None:
|
||||
"""Wake the device."""
|
||||
await self._data.async_status_async(self._device_id, self._hyper_bridge)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user