mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-03 17:48:59 +00:00

There are many phases of the moon. This sensor returns 4 of them. I listed them for automation matching.
626 B
626 B
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_iot_class, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_iot_class | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|
page | Moon Sensor | Instructions how to integrate the moon sensor into Home Assistant. | 2017-02-03 07:10 | true | false | true | true | home-assistant.png | Weather | Local Polling | 0.38 |
The moon
sensor platform is tracking the moon phases.
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:
Full moon
, Last quarter
, First quarter
or New moon
.