From 919614a9528176354d9ace8ff53f4bdcfeb5e8e7 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Wed, 10 Feb 2021 22:06:17 +0100 Subject: [PATCH] Remove defunct Crime Reports integration (#16484) --- source/_integrations/crimereports.markdown | 104 ------------------ source/_redirects | 6 +- .../images/supported_brands/crimereports.png | Bin 2042 -> 0 bytes 3 files changed, 4 insertions(+), 106 deletions(-) delete mode 100644 source/_integrations/crimereports.markdown delete mode 100644 source/images/supported_brands/crimereports.png diff --git a/source/_integrations/crimereports.markdown b/source/_integrations/crimereports.markdown deleted file mode 100644 index 006965860fe..00000000000 --- a/source/_integrations/crimereports.markdown +++ /dev/null @@ -1,104 +0,0 @@ ---- -title: Crime Reports -description: Instructions on how to integrate CrimeReports.com into Home Assistant. -ha_category: - - Social -logo: crimereports.png -ha_release: 0.42 -ha_iot_class: Cloud Polling -ha_domain: crimereports ---- - -The `crimereports` sensor allows one to track reported incidents occurring in a given area. Incidents include anything reported to [Crime Reports](https://www.crimereports.com). Your regional emergency services may or may not report data. The sensor only counts incidents from the current day. - -## Configuration - -To enable this sensor, add the following lines to your `configuration.yaml`. Your `radius` should be of sufficient size to capture incidents in your area. - -```yaml -sensor: - - platform: crimereports - name: NAME_FOR_SENSOR - radius: RADIUS -``` - -{% configuration %} -name: - description: Custom name for the sensor. - required: true - type: string -radius: - description: Radius in meters - required: true - type: float -latitude: - description: Latitude for sensor. - required: false - type: float - default: Your home zone latitude defined in your configuration. -longitude: - description: Longitude for sensor. - required: false - type: float - default: Your home zone longitude defined in your configuration. -include: - description: List of incident types to include. See below for a list of valid incidents. - required: false - type: list -exclude: - description: List of incident types to exclude. See below for a list of valid incidents. - required: false - type: list -{% endconfiguration %} - - -## Notes - -### Area - -Crime Reports captures all incidents in a region defined by a square shape. Home Assistant zones are circular. Therefore, the region defined by a Home Assistant zone in a Crime Reports context is a square that is big enough to fit the zone circle. Practically, this means some incidents may be captured that are outside your zone. - -### Incident Types - -You can explicitly include or exclude incident types. Specifying `include`s restricts the incidents to those types. Specifying `exclude`s will return all incident types except those specified. - -These incident types are available: - -- Alarm -- Arson -- Assault -- Assault with Deadly Weapon -- Breaking & Entering -- Community Policing -- Death -- Disorder -- Drugs -- Emergency -- Family Offense -- Fire -- Homicide -- Kidnapping -- Liquor -- Missing Person -- Other -- Other Sexual Offense -- Pedestrian Stop -- Proactive Policing -- Property Crime -- Property Crime Commercial -- Property Crime Residential -- Quality of Life -- Robbery -- Sexual Assault -- Sexual Offense -- Theft -- Theft from Vehicle -- Theft of Vehicle -- Traffic -- Vehicle Recovery -- Vehicle Stop -- Weapons Offense - -### Events - -The `crimereports` sensor fires a `crimereports_incident` event when a new incident is detected, including the type, description, time, location, and coordinates of the incident. diff --git a/source/_redirects b/source/_redirects index 880ddbda355..12127506668 100644 --- a/source/_redirects +++ b/source/_redirects @@ -664,7 +664,6 @@ /components/sensor.comed_hourly_pricing /integrations/comed_hourly_pricing /components/sensor.comfoconnect /integrations/comfoconnect /components/sensor.cpuspeed /integrations/cpuspeed -/components/sensor.crimereports /integrations/crimereports /components/sensor.cups /integrations/cups /components/sensor.currencylayer /integrations/currencylayer /components/sensor.daikin /integrations/daikin#sensor @@ -1232,7 +1231,6 @@ /components/cover.xiaomi_aqara /integrations/cover.xiaomi_aqara /components/cppm_tracker /integrations/cppm_tracker /components/cpuspeed /integrations/cpuspeed -/components/crimereports /integrations/crimereports /components/cups /integrations/cups /components/currencylayer /integrations/currencylayer /components/daikin /integrations/daikin @@ -2263,3 +2261,7 @@ /integrations/ptvsd /more-info/removed-integration 301 /components/nuimo_controller /more-info/removed-integration 301 /integrations/nuimo_controller /more-info/removed-integration 301 +/components/sensor.crimereports /more-info/removed-integration 301 +/components/crimereports /more-info/removed-integration 301 +/integrations/crimereports /more-info/removed-integration 301 + diff --git a/source/images/supported_brands/crimereports.png b/source/images/supported_brands/crimereports.png deleted file mode 100644 index 6d9008cad009fba405c12c23709c2440d3091fd7..0000000000000000000000000000000000000000 GIT binary patch literal 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