mirror of
https://github.com/home-assistant/core.git
synced 2025-07-17 18:27:09 +00:00
Deprecate SmartThings events (#141073)
This commit is contained in:
parent
e78e873892
commit
5f67623214
@ -207,6 +207,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: SmartThingsConfigEntry)
|
|||||||
rooms=rooms,
|
rooms=rooms,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# Events are deprecated and will be removed in 2025.10
|
||||||
def handle_button_press(event: DeviceEvent) -> None:
|
def handle_button_press(event: DeviceEvent) -> None:
|
||||||
"""Handle a button press."""
|
"""Handle a button press."""
|
||||||
if (
|
if (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user