You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UI based entity registrations. Backend will assemble entities, and provide to automation code like this
entities.my_select.current_option="foo"
📬 Caveats
The synapse entity generation tools won't be provided directly to the service for v1. There's some weirdness to sort out with continually redefining an entity, and potential memory leaks through the strange create / teardown process
These get reported to home assistant as part of entity.attributes.
defaultAttributes (JSON object)
attributes (type definition)
Locals
Used for storing properties against the entity without emitting update events or sending that info to home assistant. Info DOES get persisted to sqlite automatically
locals (type definition)
defaultLocals (json object)
Configuration
Domain specific configurations. Used as the default value for new entities
Will need to reference synapse library internals for types. LMK and I can point them out for import
🪤 Context
UI based entity registrations. Backend will assemble entities, and provide to automation code like this
📬 Caveats
The
synapse
entity generation tools won't be provided directly to the service for v1. There's some weirdness to sort out with continually redefining an entity, and potential memory leaks through the strange create / teardown process🩻 Additional details
https://github.com/Digital-Alchemy-TS/code-glue/blob/main/apps/server/src/utils/contracts/entities.ts
The text was updated successfully, but these errors were encountered: