# Dark or bright

I've added two boolean logic variables, `dark` and `bright`.

### Dark

As simple as if is dark outside or not. Turn on at sunset, and turn off when sun rise.

![](/files/-LtnfmGNjlWEImyK1RVy)

### Bright

I want a boolean variable to flag when there is bright light outside. Typically I use this to for some of the rooms with a lot of windows, turn off the lights in the middle of the day in the summer.

![](/files/-LtngFag4t3h87rFCjGT)


---

# Agent Instructions: 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:

```
GET https://homey.solweb.no/aggregated-state/dark-or-bright.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
