From 0c87f0023a16a9bab80679888f300c26c4a52012 Mon Sep 17 00:00:00 2001 From: Christian Biamont Date: Sun, 16 Dec 2018 20:11:58 +0100 Subject: [PATCH] Add docs for Brottsplatskartan sensor (#7731) * Add docs for Brottsplatskartan sensor * Update ha_version to 0.85 * Not implementing custom firing of event --- .../sensor.brottsplatskartan.markdown | 56 ++++++++++++++++++ .../supported_brands/brottsplatskartan.png | Bin 0 -> 6278 bytes 2 files changed, 56 insertions(+) create mode 100644 source/_components/sensor.brottsplatskartan.markdown create mode 100644 source/images/supported_brands/brottsplatskartan.png diff --git a/source/_components/sensor.brottsplatskartan.markdown b/source/_components/sensor.brottsplatskartan.markdown new file mode 100644 index 00000000000..1ac65a3e481 --- /dev/null +++ b/source/_components/sensor.brottsplatskartan.markdown @@ -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. diff --git a/source/images/supported_brands/brottsplatskartan.png b/source/images/supported_brands/brottsplatskartan.png new file mode 100644 index 0000000000000000000000000000000000000000..491bb709571fffeb42b0597f0ffeae0e98750dc5 GIT binary patch literal 6278 zcmV;17c)Kt|C!G}t&Sf@*-;I562bF3dPH%{epMIWEvUGrK=R**Px5Jv`Vt zG0r?T%se=3Qg=~ThG|iEJ6x4BUz$5wlUr4OVN`uyReoGme?421KU|VKT$DRqmBT$f zwLnE>Q+hgFl)67c!9PFBJ~~oWfjM56T2+BLXren?l)OMeyg@^=K}NDcM%Ftrs6 zW2YHpsv2afmq%HXNnLSOJQeIc~w?~g9C{b0001hbW%=J01A8mW*5Jd16uSlOx@}xs(Js`K5CCp zd4opO|Nofk|NsA_+Ni>j|Njj){}$Hp|6arYvR1Vsr%NklIpqR3-R;?3?Zgv!kD{x5WO?1GB{C%&tv z?^fpa_xURTlaYpH6EKXbP{*vs0DBAMMlU+?Ow3zCsng zegED;-EQ|i)D01lN1iWAG#p2Y%8N6}b-wG~>X;njw?PrlmOV|{9)TPul#)rs@#ran z5-7#2Tvz{p54FWT*^8A5HKkNfdK{)jtY-wRdRz*8^COGyOJ&J@`1vjCO{;BkTqLnd zSJGQ5P6RKR9BMm0)WNU6K4EizV{(=F=i|Q^U2T)2cHB=N=*Ko)KyvMNOF$j`s4_Y9 zv&JjOMWWKoU=Z8>&`w5KfNIL2Bf*Qwjl;z@Cs)xLJhYw>OG|FfgLPvw!{5{(K!i3fwU-xJe*TAR5RQmq?K9->Ze!OgAiYJ2ttXceOek)tK@z_~xa_Ij_?(b@o>vUdya=weZi(rdN;NwMIQ(Hdu>A(nVFUA)?wuumew9$US6)Gp%ZZ|&X4ohwB7Sv z?cyRHNy>GL`Yo}}Pa~e}^&F*w&~;rUrcMq#w>{Qc6|7wSlEYhrUwd+qdsE!XN}6U1 z7Om#J?cQ^-8j-xYRopZl;T4J%{ek1Q?n+Ld9I$NVTmrK)$#pt4SUJi97mL%$rFn8h zXI1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