Skip to content

Commit e19273e

Browse files
authored
Add show_on_map option (home-assistant#1837)
* Add show_on_map option * Add logo for ISS * Add docs for ISS binary sensor * Add deprecated warning
1 parent ff071fc commit e19273e

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: page
3+
title: "International Space Station"
4+
description: "Know if or when ISS will be above your home location"
5+
date: 2016-12-18 10:00
6+
sidebar: true
7+
comments: false
8+
sharing: true
9+
footer: true
10+
logo: nasa.png
11+
ha_category: Binary Sensor
12+
ha_release: 0.36
13+
---
14+
15+
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.
16+
17+
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.
18+
19+
To add ISS binary sensor to your installation, add the following to your `configuration.yaml` file:
20+
21+
```yaml
22+
# Example configuration.yaml entry
23+
binary_sensor:
24+
- platform: iss
25+
```
26+
27+
Configuration variables:
28+
29+
- **show_on_map** (*Optional*): Option to show the position of the ISS on the map. Defaults to `False`.

source/_components/sensor.iss.markdown

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ sidebar: true
77
comments: false
88
sharing: true
99
footer: true
10-
logo: bbox.png
11-
ha_category: Sensor
10+
logo: nasa.png
11+
ha_category: Deprecated
1212
ha_release: 0.36
1313
---
1414

15+
<p class='note warning'>
16+
**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.**
17+
</p>
18+
1519
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.
1620
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.
1721

@@ -22,5 +26,3 @@ To add ISS sensor to your installation, add the following to your `configuration
2226
sensor:
2327
- platform: iss
2428
```
25-
26-
117 KB
Loading

0 commit comments

Comments
 (0)