Skip to content
Home Assistant TestFlight
Sensors

Event sensor

azogue/eventsensor · vv3.4.0

HACSCalculated

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.

EntityShows up asNote
sensorSensor (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
DeviceIn Home AssistantIn Apple HomeWhat they saidSource
Aqara CubeWorksTemplate extracts the gesture; tested with deCONZ
Saved copy
Changes * 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 ButtonWorksTemplate added; tested with deCONZ
Saved copy
Changes * 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)WorksHue v2 API needed v3.0.0 and type/subtype fields
Saved copy
Hi, 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 ButtonWorksPreset added, same event as dimmer button 1
Saved copy
Adding 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 buttonRequestedAsks for preconfigured smartthings.button event support
Saved copy
So 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 stars94
Latest versionv3.4.0 (2026-10-05)
Set up in the UIYes
Maintainers@azogue
LicenseMIT

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.