mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 21:06:50 +00:00
Add config flow to Moon (#21855)
This commit is contained in:
parent
e7e844de3b
commit
213037a761
@ -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' />
|
||||
|
Loading…
x
Reference in New Issue
Block a user