Skip to content

jeremywillans/event-emitter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Event Emitter

Custom Component For Home Assistant

gh_release gh_last_commit hacs_custom

This component creates a service event_emitter.call that lets you emit a call-service event. This can be used to pass Service data between components such as from the Lovelace UI to Node Red.

There is no restirction on parameters allowing total flexibility.

In the below use-case example, a service data field event is used to route flows in Node Red.

Emitter Example

Install

  1. Install with HACS or copy the custom_components folder in your HA configuration folder.
  2. Add
    event_emitter:
    
    to the configuration.yaml

Example Service Parameters

  • entity: Example Event ID (eg. sonos_tts)
  • entity_id: Example entity id (eg. media_player.lounge) [optional]
  • field1: Generic field 1
  • field2: Generic field 2
  • different3: Different feld 3

Support

In case you've found a bug, please open an issue on GitHub.

My Repos

ha-rest980-roomba | roomba-vacuum-card | hass-addons | event-emitter

BMC