Add show_on_map option (#1837)

* Add show_on_map option

* Add logo for ISS

* Add docs for ISS binary sensor

* Add deprecated warning
This commit is contained in:
Fabian Affolter 2017-01-24 10:02:35 +01:00 committed by GitHub
parent ff071fc2fa
commit e19273e847
3 changed files with 35 additions and 4 deletions

View File

@ -0,0 +1,29 @@
---
layout: page
title: "International Space Station"
description: "Know if or when ISS will be above your home location"
date: 2016-12-18 10:00
sidebar: true
comments: false
sharing: true
footer: true
logo: nasa.png
ha_category: Binary Sensor
ha_release: 0.36
---
The `iss` platform uses the [Open Notify API](http://open-notify.org/Open-Notify-API/ISS-Location-Now/) to let you know if the station is above your home location. 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 rise of the station, its current coordinates, and the number of people in space.
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 variables:
- **show_on_map** (*Optional*): Option to show the position of the ISS on the map. Defaults to `False`.

View File

@ -7,11 +7,15 @@ sidebar: true
comments: false
sharing: true
footer: true
logo: bbox.png
ha_category: Sensor
logo: nasa.png
ha_category: Deprecated
ha_release: 0.36
---
<p class='note warning'>
**This platform has been deprecated in favor of the "[ISS](/components/binary_sensor.iss/)" platform and will be removed in the future. Please use the "iss" binary sensor platform.**
</p>
The `iss` platform uses the [Open Notify API](http://open-notify.org/Open-Notify-API/ISS-Location-Now/) to let you know if the station is above your home location. This means that ISS is 10° above the horizon of your home.
You can check in the attributes of the sensor how many minutes you have to wait until the next rise of the station and the number of people in space.
@ -22,5 +26,3 @@ To add ISS sensor to your installation, add the following to your `configuration
sensor:
- platform: iss
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB