Digital-Alchemy-TS / Digital-Alchemy-TS/code-glue

Shared variables system

Open
#10 0 comments 0 reactions 1 assignee Claimed by @zoe-codez View on GitHub
enhancement scope:backend scope:frontend
Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

## 🪤 Context

Similar to the way synapse has entity locals, need a way to define and share variables between automation services. This will need to be driven by a UI to create and manage the default state of the variable.

The backend will work to actively preserve state for that shared variable, writing values to the sqlite database so they will persist across app reboots & random automation restarts

## 📬 Caveats

Also need a way to capture update events from these shared variables, similar to the way that entities/synapse entities are able to track state & emit updates.

Really want to use the shared variable as an update source for managed switches

## 🩻 Additional details

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.