From 213037a7612530ace231cc806d261a09cb63de1d Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Sun, 27 Mar 2022 13:04:53 +0200 Subject: [PATCH] Add config flow to Moon (#21855) --- source/_integrations/moon.markdown | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/source/_integrations/moon.markdown b/source/_integrations/moon.markdown index 0dc6ca7ff96..1a609ce7cf5 100644 --- a/source/_integrations/moon.markdown +++ b/source/_integrations/moon.markdown @@ -11,22 +11,23 @@ ha_codeowners: ha_domain: moon ha_platforms: - sensor +ha_config_flow: true --- -The `moon` integration tracks the phases of the moon. +The Moon integration tracks the phases of the moon. -## Configuration +{% include integrations/config_flow.md %} -To enable the moon sensor, add the following lines to your `configuration.yaml`: +The sensor provided by this integration will return one of the following values: -```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` . +- `new_moon` +- `waxing_crescent` +- `first_quarter` +- `waxing_gibbous` +- `full_moon` +- `waning_gibbous` +- `last_quarter` +- `waning_crescent`