Deprecate SmartThings events (#141073)

This commit is contained in:
Joost Lekkerkerker 2025-03-21 18:26:17 +01:00 committed by GitHub
parent e78e873892
commit 5f67623214
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -207,6 +207,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: SmartThingsConfigEntry)
rooms=rooms,
)
# Events are deprecated and will be removed in 2025.10
def handle_button_press(event: DeviceEvent) -> None:
"""Handle a button press."""
if (