mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Add docs for Brottsplatskartan sensor (#7731)
* Add docs for Brottsplatskartan sensor * Update ha_version to 0.85 * Not implementing custom firing of event
This commit is contained in:
parent
50fefab487
commit
0c87f0023a
56
source/_components/sensor.brottsplatskartan.markdown
Normal file
56
source/_components/sensor.brottsplatskartan.markdown
Normal file
@ -0,0 +1,56 @@
|
||||
---
|
||||
layout: page
|
||||
title: "Brottsplatskartan"
|
||||
description: "Instructions on how to integrate brottsplatskartan.se into Home Assistant."
|
||||
date: 2018-12-02 20:00
|
||||
sidebar: true
|
||||
comments: false
|
||||
sharing: true
|
||||
footer: true
|
||||
ha_category: Social
|
||||
logo: brottsplatskartan.png
|
||||
ha_release: 0.85
|
||||
ha_iot_class: "Cloud Polling"
|
||||
---
|
||||
|
||||
The `brottsplatskartan` sensor allows one to track reported incidents occurring in a given area. Incidents include anything reported to [Brottsplatskartan](https://brottsplatskartan.se). The sensor only counts incidents from the current day.
|
||||
|
||||
## {% linkable_title Configuration %}
|
||||
|
||||
To enable this sensor, add the following lines to your `configuration.yaml`.
|
||||
|
||||
```yaml
|
||||
sensor:
|
||||
- platform: brottsplatskartan
|
||||
```
|
||||
|
||||
{% configuration %}
|
||||
name:
|
||||
description: Custom name for the sensor.
|
||||
required: false
|
||||
type: string
|
||||
default: Brottsplatskartan
|
||||
area:
|
||||
description: Area for sensor to monitor
|
||||
required: false
|
||||
type: string
|
||||
latitude:
|
||||
description: Latitude for sensor.
|
||||
required: false
|
||||
default: Your home zone latitude defined in your configuration.
|
||||
longitude:
|
||||
description: Longitude for sensor.
|
||||
required: false
|
||||
default: Your home zone longitude defined in your configuration.
|
||||
{% endconfiguration %}
|
||||
|
||||
|
||||
## {% linkable_title Notes %}
|
||||
|
||||
### {% linkable_title Area %}
|
||||
|
||||
Brottsplatskartan captures all incidents in a region, e.g Stockholms län. If area parameter is defined, any latitude and longitude parameters are ignored.
|
||||
|
||||
### {% linkable_title Latitude and Longitude %}
|
||||
|
||||
The radius is set to 5 km when using latitude and longitude to monitor an area. It's not possible to explicitly set radius to another value.
|
BIN
source/images/supported_brands/brottsplatskartan.png
Normal file
BIN
source/images/supported_brands/brottsplatskartan.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.1 KiB |
Loading…
x
Reference in New Issue
Block a user