After spinning off the mapping functionality from my RF433 remote project, I’m happy to introduce ha-event2action.
The goal of the project is to provide a generic framework for learning events and mapping them to Home Assistant actions through an intuitive Lovelace UI—without manually creating automations for every button or event.
Currently supported event sources include:
RF433 remotes (via my ESPHome RF433 sniffer)
Zigbee buttons (zha_event)
The architecture is intentionally open. Any event source can be integrated by adding a small feeder automation that converts its payload into the normalized Event2Action format. That means it can easily be extended to support IR receivers, ESPHome devices, MQTT events, custom integrations, and many other Home Assistant event sources.
Features
- Interactive learning mode
- Visual mapping editor
- Runtime action mapping stored in Home Assistant
- Import/export and backup of mappings
- Generic architecture for multiple event sources
- No cloud dependency
Simplified installation contains of a custom HACS dashboard Lovelace card and a package containg all needed YAML definitions.
GitHub:
I’d love to hear your feedback and feature ideas. If you’d like to use Event2Action with another type of event source, I’m also happy to help create the required feeder automation so support for additional devices and integrations can continue to grow.
