Skip to content

Commit 88ad7b3

Browse files
bachyafabaff
authored andcommitted
AirVisual documentation updates (home-assistant#3492)
1 parent 5d0a917 commit 88ad7b3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

source/_components/sensor.airvisual.markdown

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ sensor:
4545
latitude: 42.81212
4646
longitude: 108.12422
4747
radius: 500
48+
show_on_map: false
4849
```
4950
5051
Configuration variables:
@@ -58,6 +59,8 @@ defined under the `homeassistant` key in `configuration.yaml` will be used
5859
defined under the `homeassistant` key in `configuration.yaml` will be used
5960
- **radius** (*Optional*): the radius (in meters) around the latitude/longitude to
6061
search for the nearest city; defaults to `1000`
62+
- **show_on_map** (*Optional*): whether to show a marker on the map at the specified
63+
location; defaults to `true`
6164

6265
## {% linkable_title Configuring the Platform via City/State/Country %}
6366

@@ -74,6 +77,7 @@ sensor:
7477
city: southend-on-sea
7578
state: essex
7679
country: uk
80+
show_on_map: false
7781
```
7882

7983
Configuration variables:
@@ -84,6 +88,8 @@ Configuration variables:
8488
- **city** (*Optional*): the city to monitor
8589
- **state** (*Optional*): the state/region to monitor
8690
- **country** (*Optional*): the country to monitor
91+
- **show_on_map** (*Optional*): whether to show a marker on the map at the specified
92+
location; defaults to `true`
8793

8894
To easily determine the proper values for a particular location, use the
8995
[AirVisual region directory](https://airvisual.com/world). Once you browse to the particular city you want,

0 commit comments

Comments
 (0)