> For the complete documentation index, see [llms.txt](https://notes.d15r.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.d15r.de/home-automation/home-assistant.md).

# Home-assistant

## Plugins

* [HACS](https://community.home-assistant.io/t/custom-component-hacs/121727) Home Assistant Community Store

## Automations

### 2 Lichtquellen, 2 Bewegungsmelder, 1 Helligkeitssensor

Ich habe in einem Raum zwei Lampen mit jeweils einem Bewegungssensor. Die Lampen werden eingeschaltet, wenn es dunkel ist und Bewegung entdeckt wird.

Wenn eine Lampe eingeschaltet war, war es nicht dunkel genug, damit die andere Lampe angeht, wenn Bewegung erkannt wurde.

Jetzt wird die zweite Lampe eingeschaltet, wenn es entweder dunkel genug ist oder die erste Lampe eingeschaltet ist.

```yaml
condition: or
conditions:
  - below: '5'
    condition: numeric_state
    entity_id: sensor.helligkeit
  - condition: state
    entity_id: switch.shelly
    state: 'on'
```

### Links

* [Lovelace Soft UI](https://github.com/N-l1/lovelace-soft-ui)
* [Awesome HA](https://github.com/frenck/awesome-home-assistant)
* [Demo Frontend](https://demo.home-assistant.io/#/lovelace/0)
* [No more light switches](https://smarthome.university/automations/no-more-light-switches/)
* [Home Assistant Amber](https://www.crowdsupply.com/nabu-casa/home-assistant-amber) - Hardware für Home Assistant
* [f.lux, but for your house](https://tylercipriani.com/blog/2022/10/17/whole-house-circadian-lighting-with-home-assistant/)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://notes.d15r.de/home-automation/home-assistant.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
