mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-28 13:57:04 +00:00

* Sets front matter defaults * Removes default front matter from section templates/pages * Removes default front matter from addon pages * Removes default front matter from integration pages * Removes default front matter from posts * Removes default front matter from docs pages * Removes default front matter from other pages * Fixes blog category pages
699 B
699 B
title, description, logo, ha_category, ha_iot_class, ha_release, ha_qa_scale, redirect_from
title | description | logo | ha_category | ha_iot_class | ha_release | ha_qa_scale | redirect_from | ||
---|---|---|---|---|---|---|---|---|---|
Moon Sensor | Instructions on how to integrate the moon sensor into Home Assistant. | home-assistant.png |
|
Local Polling | 0.38 | internal |
|
The moon
sensor platform is tracking the moon phases.
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
.