# ossilampe/home-automatisierung architecture

> Architecture diagram of the GitHub repository ossilampe/home-automatisierung, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/ossilampe/home-automatisierung
- Repository: https://github.com/ossilampe/home-automatisierung

## Overview

This repository provides Home Assistant YAML blueprints for shutter automation. The main workflow uses configured helpers and entities to decide when to open, close, or shade a cover; an optional Astro automation updates the day/night helper from sunrise and sunset. The README documents these relationships, but no source excerpts were supplied, so the additional blueprint files are shown without inferred behavior or connections.

Main entry points: [`blueprints/fensterautomation.yaml`](https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/fensterautomation.yaml) (Shutter automation), [`blueprints/astro_rollladen.yaml`](https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/astro_rollladen.yaml) (Astro automation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_shutter["Shutter Blueprints"]
  node_main["Shutter automation"]
  node_no_contact["No-contact variant"]
  node_balcony["Balcony automation"]
end

subgraph group_astro["Astro Automation"]
  node_astro["Astro automation"]
end

node_user(("Home Assistant user"))
node_ha["Home Assistant"]
node_helpers["Astro, shade, quiet helpers"]
node_cover["Shutter cover"]
node_window["Window contact"]
node_sun["Sun integration"]

node_user -->|"imports blueprint"| node_ha
node_ha -->|"runs"| node_main
node_main -->|"uses helpers"| node_helpers
node_main -->|"controls"| node_cover
node_main -->|"checks contact"| node_window
node_ha -->|"runs additionally"| node_astro
node_astro -->|"uses sunrise and sunset"| node_sun
node_astro -->|"switches Astro helper"| node_helpers

click node_main "https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/fensterautomation.yaml"
click node_no_contact "https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/Fensterautomation_ohne_fensterkontakt.yaml"
click node_balcony "https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/Balkonautomation.yaml"
click node_astro "https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/astro_rollladen.yaml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main,node_no_contact,node_balcony,node_user toneBlue
class node_astro toneAmber
class node_ha,node_helpers,node_cover,node_window,node_sun toneIndigo
```

## Components

### Shutter Blueprints

- [Shutter automation](https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/fensterautomation.yaml): `blueprints/fensterautomation.yaml`
- [No-contact variant](https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/Fensterautomation_ohne_fensterkontakt.yaml): `blueprints/Fensterautomation_ohne_fensterkontakt.yaml`
- [Balcony automation](https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/Balkonautomation.yaml): `blueprints/Balkonautomation.yaml`

### Astro Automation

- [Astro automation](https://github.com/ossilampe/home-automatisierung/blob/master/blueprints/astro_rollladen.yaml): `blueprints/astro_rollladen.yaml`

### Other components

- **Home Assistant user**
- **Home Assistant**
- **Astro, shade, quiet helpers**
- **Shutter cover**
- **Window contact**
- **Sun integration**

## Connections

- Home Assistant user → Home Assistant: imports blueprint (evidence: `readme.md`)
- Home Assistant → Shutter automation: runs (evidence: `readme.md`)
- Shutter automation → Astro, shade, quiet helpers: uses helpers (evidence: `readme.md`)
- Shutter automation → Shutter cover: controls (evidence: `readme.md`)
- Shutter automation → Window contact: checks contact (evidence: `readme.md`)
- Home Assistant → Astro automation: runs additionally (evidence: `readme.md`)
- Astro automation → Sun integration: uses sunrise and sunset (evidence: `readme.md`)
- Astro automation → Astro, shade, quiet helpers: switches Astro helper (evidence: `readme.md`)
