Event sensor
azogue/eventsensor · vv3.4.0
HomeAssistant custom sensor to track specific events
In Apple Home through HomeKit Bridge
What HomeKit Bridge makes of each kind of entity this integration creates, read from its source code. A device only gets the ones that apply to it.
| Entity | Shows up as | Note |
|---|---|---|
sensor | Sensor (temperature, humidity, air quality…) |
What people report
Event sensor presets cover Aqara, Hue and similar remotes; Hue v2 API remotes needed v3.0.0 and SmartThings buttons are requested.
- Works4
- Requested1
| Device | In Home Assistant | In Apple Home | What they said | Source |
|---|---|---|---|---|
| Aqara Cube | Works | Template extracts the gesture; tested with deCONZSaved copyChanges * Add template for Aqara Smart Button events (tested with deCONZ integration, they could be different on ZHA. * Add template for Aqara Cube events to extract the gesture. * Bump minor version to 2.2.0 Both mappings are tested with deCONZ integration, so they could be different on ZHA :( These templates can be used as they are, or be modified (custom state names?) in the last stage of the sensor configuration. Excerpt saved from GitHub on 2026-10-23. | PR #16 · 2020-08 | |
| Aqara Smart Button | Works | Template added; tested with deCONZSaved copyChanges * Add template for Aqara Smart Button events (tested with deCONZ integration, they could be different on ZHA. * Add template for Aqara Cube events to extract the gesture. * Bump minor version to 2.2.0 Both mappings are tested with deCONZ integration, so they could be different on ZHA :( These templates can be used as they are, or be modified (custom state names?) in the last stage of the sensor configuration. Excerpt saved from GitHub on 2026-10-23. | PR #16 · 2020-08 | |
| Philips Hue Dimmer Switch (V1) | Works | Hue v2 API needed v3.0.0 and type/subtype fieldsSaved copyHi, My hue switch works with automations but I can't get it to show the state in UI and instead shows "bad_state": This is the event: It is set up with V1 dimmer switch: I have some hue switches in deconz that works perfectly with EventSensor but I can't get this to work. Thanks in advance Excerpt saved from GitHub on 2026-10-23. | Issue #40 · 2021-12 | |
| Philips Hue Smart Button | Works | Preset added, same event as dimmer button 1Saved copyAdding a preset for the Philips Hue Smart Button. This uses the same event as button 1 on the Dimmer Switch. See #14 and home-assistant/core#38511. Excerpt saved from GitHub on 2026-10-23. | PR #18 · 2020-08 | |
| Samsung SmartThings button | Requested | Asks for preconfigured smartthings.button event supportSaved copySo Smartthings buttons have the same issue as Hue Dimmers its just an event 3 states available : pushed , double , held Pushed example: `{ "event_type": "smartthings.button", "data": { "component_id": "main", "device_id": "7b9d8adc-6f46-4d49-8022-0ce848a1881b", "location_id": "7de9ad93-a807-4208-aff4-9d9f2506524f", "value": "pushed", "name": "Master Bedroom Button", "data": {} }, "origin": "LOCAL", "time_fired": "2022-02-08T22:42:26.071286+00:00", "context": { "id": "bbfcf1243e40135819a03a64a316d02a", "parent_id": null, "user_id": null } }` Double example: `{ "event_type": … Excerpt saved from GitHub on 2026-10-23. | Issue #45 · 2022-02 |
Gathered from GitHub issues, pull requests, discussions and docs, and from r/homeassistant. These are individual reports, so check the linked thread and the date before you buy.
How it connects
Calculated
Works out its values from other data rather than talking to a device.
Details
| Installs (analytics) | 128 (0.02%) |
|---|---|
| GitHub stars | 94 |
| Latest version | v3.4.0 (2026-10-05) |
| Set up in the UI | Yes |
| Maintainers | @azogue |
| License | MIT |
In ReReHome
Whatever HomeKit Bridge shares reaches Apple Home as normal HomeKit accessories behind your Home Assistant bridge, so ReReHome shows and controls them like any other.
Bridges get their own settings page listing the accessories behind them.
Sources
- Documentation: https://github.com/azogue/eventsensor
- Source code: https://github.com/azogue/eventsensor
- Issues: https://github.com/azogue/eventsensor/issues
- HACS: https://hacs.xyz