mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-04 10:08:57 +00:00
750 B
750 B
title, description, ha_category, ha_iot_class, ha_release, ha_quality_scale, ha_codeowners, ha_domain
title | description | ha_category | ha_iot_class | ha_release | ha_quality_scale | ha_codeowners | ha_domain | ||
---|---|---|---|---|---|---|---|---|---|
Moon | Instructions on how to integrate the moon sensor into Home Assistant. |
|
Local Polling | 0.38 | internal |
|
moon |
The moon
integration tracks the phases of the moon.
Configuration
To enable the moon sensor, add the following lines to your configuration.yaml
:
# Example configuration.yaml entry
sensor:
- platform: moon
This sensor will return one of the following values:
new_moon
, waxing_crescent
, first_quarter
, waxing_gibbous
, full_moon
, waning_gibbous
, last_quarter
or waning_crescent
.