Adjust button type hints in components (#74132)

This commit is contained in:
epenet
2022-06-28 17:19:03 +02:00
committed by GitHub
parent dc039f5218
commit b51ad16db9
9 changed files with 11 additions and 17 deletions

View File

@@ -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)