Add event platform to SmartThings (#38115)

This commit is contained in:
Joost Lekkerkerker 2025-03-21 17:00:47 +01:00 committed by GitHub
parent 75b0a7762a
commit facac91f15
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,6 +6,7 @@ ha_category:
- Binary sensor - Binary sensor
- Climate - Climate
- Cover - Cover
- Event
- Fan - Fan
- Hub - Hub
- Light - Light
@ -22,6 +23,7 @@ ha_platforms:
- binary_sensor - binary_sensor
- climate - climate
- cover - cover
- event
- fan - fan
- light - light
- lock - lock
@ -116,6 +118,10 @@ The SmartThings Cover platform lets you control devices that have open/close rel
| [`windowShadeLevel`](https://developer.smartthings.com/docs/devices/capabilities/capabilities-reference/#windowShadeLevel) | `position` | | [`windowShadeLevel`](https://developer.smartthings.com/docs/devices/capabilities/capabilities-reference/#windowShadeLevel) | `position` |
| [`battery`](https://developer.smartthings.com/docs/devices/capabilities/capabilities-reference#battery) | `battery_level` (state attribute) | | [`battery`](https://developer.smartthings.com/docs/devices/capabilities/capabilities-reference#battery) | `battery_level` (state attribute) |
### Event
The SmartThings Event platform will create entities for every button. It will show any button presses and allows you to automate on these events.
### Fan ### Fan
The SmartThings Fan lets you control devices that have fan-related capabilities. For a SmartThings device to be represented by the fan entity, it must have one or more of the capabilities below in addition to the [`switch`](https://smartthings.developer.samsung.com/develop/api-ref/capabilities.html#Switch) capability. The SmartThings Fan lets you control devices that have fan-related capabilities. For a SmartThings device to be represented by the fan entity, it must have one or more of the capabilities below in addition to the [`switch`](https://smartthings.developer.samsung.com/develop/api-ref/capabilities.html#Switch) capability.