Add config flow to Moon (#21855)

This commit is contained in:
Franck Nijhof 2022-03-27 13:04:53 +02:00 committed by GitHub
parent e7e844de3b
commit 213037a761
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`
<p class='img'>
<img src='/images/screenshots/more-info-dialog-moon.png' />