📘 Description
Welcome to the Synapse custom component for Home Assistant!
This library works with @digital-alchemy/synapse to allow Typescript based applications to create custom entities.
🚀 Installing Synapse
To integrate Synapse with Home Assistant, add the following to your configuration.yaml
and choose one of the install methods
# Add to configuration.yaml (no additional configuration)
synapse:
📦 Via HACS (Recommended)
- Ensure you have HACS installed in Home Assistant.
- Open HACS from the Home Assistant sidebar.
- Navigate to
Integrations
>+ Explore & add repositories.
- Search for "Digital Alchemy Synapse" and select it from the list.
- Click
Install this repository in HACS.
- Restart Home Assistant to apply the changes.
📁 Manual Installation
If you prefer or need to install the integration manually:
- Clone or download this repository.
- Copy the
custom_components/synapse/
directory from the repository into the<config_dir>/custom_components/
directory of your Home Assistant installation. - Restart Home Assistant.
📚 Supported Domains
Currently, Synapse supports managing various entity types within Home Assistant, including:
- Switches: Toggleable entities reflecting the state of external devices or services.
- Sensors (with attributes): Entities providing readings from external data sources, including associated metadata.
- Binary Sensors: Represent binary states (on/off) of external conditions or inputs.
- Buttons: Triggerable entities that execute actions within external services.
- Scenes: Predefined configurations that adjust multiple entities to specific states (implementation by @digital-alchemy/automation).
Future enhancements will expand support to additional domains, enhancing the integration's versatility and applicability to a broader range of automation scenarios.
📖 Usage
Once enabled, the Synapse integration automatically coordinates with the connected Node.js application to manage entities. This includes generating unique IDs, tracking history, and ensuring entities appear on dashboards and persist across Home Assistant restarts.
Switches can be manipulated via the Lovelace UI or service domain calls, just like native Home Assistant switches. Sensors follow a push model, with updates sent from the Node.js application to Home Assistant.
For more advanced automation and entity grouping, refer to @digital-alchemy/automation, which provides tools for creating "rooms" and managing entity states and scene activation.
📚 Documentation and Support
For more detailed documentation and support, visit the GitHub repository. Please report any issues or feature requests there.