---
title: "Sun"
description: "Sun is a built-in integration for Home Assistant. It has 562k installs sharing analytics and works locally."
canonical: "https://vulpo.app/integrations/core/sun"
url: "https://vulpo.app/integrations/core/sun.md"
last-updated: "2026-10-22"
version: "1.4"
---

# Sun

> Sun is a built-in integration for Home Assistant. It has 562k installs sharing analytics and works locally.

Sun is a built-in integration that tracks the sun's position and daily timing from Home Assistant itself. It adds sensors for the next dawn, dusk, midnight, noon, rising and setting, along with the solar azimuth and solar elevation. A binary sensor shows whether the sun is rising. Its devices can also start automations directly through device triggers. It works locally and is set up in the UI.

Automatic summary of Home Assistant's source code. Something wrong? [Get in touch](https://vulpo.app/contact)

[Open in My Home Assistant](https://my.home-assistant.io/redirect/config_flow_start/?domain=sun)

## Supports

- **Works locally**: Talks to your devices on your own network. No vendor cloud in between.
- **Set up in the UI**: Add it in Settings, Devices and services. Nothing to download.
- **Device triggers**: Its devices can start automations directly.
- **Updated with Home Assistant**: Ships and updates with every Home Assistant release.

## Setting it up

It is added under Settings, Devices and services, with Add integration.

## Entities

- **Binary sensors**: Solar rising
- **Sensors**: Next dawn, Next dusk, Next midnight, Next noon, Next rising, Next setting, Solar azimuth, Solar elevation

## At a glance

- Kind: Built-in integration
- Number: 562k installs sharing analytics
- Connection: Works locally
- Upkeep: Part of Home Assistant
- Needs: Built into Home Assistant
- Domain: `sun`
- Source: <https://www.home-assistant.io/integrations/sun/>

In Vulpo: Chart card, Apple Watch

Independent directory, made by the developer of Vulpo. Not affiliated with Home Assistant or the Open Home Foundation. [About these numbers](https://vulpo.app/integrations/about)

Last updated 2026-10-22. Source: https://vulpo.app/integrations/core/sun

---

- HTML version of this page: https://vulpo.app/integrations/core/sun
- Site index for agents: https://vulpo.app/llms.txt
- Everything in one document: https://vulpo.app/llms-full.txt
- All pages: https://vulpo.app/sitemap.xml
