mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 05:16:49 +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_domain: moon
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
- sensor
|
- 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
|
- `new_moon`
|
||||||
# Example configuration.yaml entry
|
- `waxing_crescent`
|
||||||
sensor:
|
- `first_quarter`
|
||||||
- platform: moon
|
- `waxing_gibbous`
|
||||||
```
|
- `full_moon`
|
||||||
|
- `waning_gibbous`
|
||||||
This sensor will return one of the following values:
|
- `last_quarter`
|
||||||
`new_moon`, `waxing_crescent`, `first_quarter`, `waxing_gibbous`, `full_moon`, `waning_gibbous`, `last_quarter` or `waning_crescent` .
|
- `waning_crescent`
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
<img src='/images/screenshots/more-info-dialog-moon.png' />
|
<img src='/images/screenshots/more-info-dialog-moon.png' />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user