#Managing shared features across multiple HA instances — is there a better approach than AppDaemon?

1 messages · Page 1 of 1 (latest)

royal bridge
#

I run Home Assistant on several locations (different houses) and have common "features" I want to share across all of them. By feature I mean a bundle of: helpers/entities + automation logic, ideally with a config file to parameterize it per house (different entity names, thresholds, etc.).

My current setup uses AppDaemon: I write the logic in Python, parameterize everything via apps.yaml, and it's easy to debug and adapt. However it has friction points about the creation of entities and divergence with core features of ha.

I'm wondering: is there a more "native" or widely adopted way to do this in the HA ecosystem?

I've looked at:

  • Packages — great for YAML bundles but can't handle stateful Python logic
  • Custom components — more native but heavier to write and iterate on
  • Blueprints — good for parameterized automations but limited scope
  • PyScript — promising Python approach, but unclear on entity management and multi-instance deployment

Am I missing something? How do others manage feature reuse across multiple HA instances?

patent gyro
royal bridge
patent gyro
polar dragon
#

I think you could even set up a site specific substitutions file linked to the actual entities present and then keep everything else generic