mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Update docs for refactored ISS integration (#21347)
This commit is contained in:
parent
397e184b39
commit
ee7b0c1f50
@ -8,6 +8,8 @@ ha_release: 0.36
|
|||||||
ha_domain: iss
|
ha_domain: iss
|
||||||
ha_platforms:
|
ha_platforms:
|
||||||
- binary_sensor
|
- binary_sensor
|
||||||
|
ha_codeowners:
|
||||||
|
- '@DurgNomis-drol'
|
||||||
---
|
---
|
||||||
|
|
||||||
The `iss` platform uses the
|
The `iss` platform uses the
|
||||||
@ -18,33 +20,13 @@ This means that ISS is 10° above the horizon of your home.
|
|||||||
You can check in the attributes of the sensor to see the timestamp for the next
|
You can check in the attributes of the sensor to see the timestamp for the next
|
||||||
rise of the station, its current coordinates, and the number of people in space.
|
rise of the station, its current coordinates, and the number of people in space.
|
||||||
|
|
||||||
## Configuration
|
{% include integrations/config_flow.md %}
|
||||||
|
|
||||||
To add ISS binary sensor to your installation,
|
|
||||||
add the following to your `configuration.yaml` file:
|
|
||||||
|
|
||||||
```yaml
|
|
||||||
# Example configuration.yaml entry
|
|
||||||
binary_sensor:
|
|
||||||
- platform: iss
|
|
||||||
```
|
|
||||||
|
|
||||||
{% configuration %}
|
|
||||||
name:
|
|
||||||
description: The name for this sensor in the frontend.
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
default: ISS
|
|
||||||
show_on_map:
|
|
||||||
description: Option to show the position of the ISS on the map.
|
|
||||||
required: false
|
|
||||||
type: boolean
|
|
||||||
default: false
|
|
||||||
{% endconfiguration %}
|
|
||||||
|
|
||||||
<div class='note warning'>
|
<div class='note warning'>
|
||||||
|
|
||||||
If you set `show_on_map: true` then the location attributes are named `latitude` and `longitude`.
|
If you enable "Show on map" in the options for this integration then the location attributes
|
||||||
The default name of the location attributes is `lat` and `long` to avoid showing them on the map.
|
are named `latitude` and `longitude`. The default name of the location attributes is
|
||||||
|
`lat` and `long` to avoid showing them on the map.
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user