From 684f0000156bcbec4828697707e19c1b22acb6ee Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Fri, 2 Apr 2021 14:09:59 +0200 Subject: [PATCH] Remove Geizhals integration (ADR-0004) (#17230) --- .vscode/cSpell.json | 158 ++++++++++++------------- source/_integrations/geizhals.markdown | 56 --------- source/_redirects | 5 +- 3 files changed, 80 insertions(+), 139 deletions(-) delete mode 100644 source/_integrations/geizhals.markdown diff --git a/.vscode/cSpell.json b/.vscode/cSpell.json index dbff6649d46..dd008c8be38 100644 --- a/.vscode/cSpell.json +++ b/.vscode/cSpell.json @@ -1,84 +1,80 @@ // cSpell Settings // Contains additional words for our project { - "version": "0.1", - "language": "en", - "words": [ - "arest", - "automations", - "bloomsky", - "bluesound", - "BTLE", - "Denon", - "endconfiguration", - "endraw", - "Etekcity", - "fitbit", - "Flexit", - "geizhals", - "Harman", - "hass", - "Hass.io", - "HassOS", - "hcitool", - "heos", - "hikvision", - "Homematic", - "IBAN", - "icloud", - "kardon", - "macos", - "Modbus", - "Mosquitto", - "nginx", - "ohmconnect", - "Onkyo", - "paulus", - "templating", - "waqi", - "Webhook" - ], - // flagWords - list of words to be always considered incorrect - // This is useful for offensive words and common spelling errors. - // For example "hte" should be "the" - "flagWords": [ - "hte", - "asssistant" - ], - "enabledLanguageIds": [ - "asciidoc", - "c", - "cpp", - "csharp", - "css", - "dockerfile", - "gemfile", - "git-commit", - "go", - "handlebars", - "html", - "jade", - "java", - "javascript", - "javascriptreact", - "json", - "jsonc", - "latex", - "less", - "liquid", - "markdown", - "php", - "plaintext", - "pug", - "python", - "restructuredtext", - "rust", - "scala", - "scss", - "text", - "typescript", - "typescriptreact", - "yaml", - "yml" - ] -} \ No newline at end of file + "version": "0.1", + "language": "en", + "words": [ + "arest", + "automations", + "bloomsky", + "bluesound", + "BTLE", + "Denon", + "endconfiguration", + "endraw", + "Etekcity", + "fitbit", + "Flexit", + "Harman", + "hass", + "Hass.io", + "HassOS", + "hcitool", + "heos", + "hikvision", + "Homematic", + "IBAN", + "icloud", + "kardon", + "macos", + "Modbus", + "Mosquitto", + "nginx", + "ohmconnect", + "Onkyo", + "paulus", + "templating", + "waqi", + "Webhook" + ], + // flagWords - list of words to be always considered incorrect + // This is useful for offensive words and common spelling errors. + // For example "hte" should be "the" + "flagWords": ["hte", "asssistant"], + "enabledLanguageIds": [ + "asciidoc", + "c", + "cpp", + "csharp", + "css", + "dockerfile", + "gemfile", + "git-commit", + "go", + "handlebars", + "html", + "jade", + "java", + "javascript", + "javascriptreact", + "json", + "jsonc", + "latex", + "less", + "liquid", + "markdown", + "php", + "plaintext", + "pug", + "python", + "restructuredtext", + "rust", + "scala", + "scss", + "text", + "typescript", + "typescriptreact", + "yaml", + "yml" + ] +} diff --git a/source/_integrations/geizhals.markdown b/source/_integrations/geizhals.markdown deleted file mode 100644 index 658d095c374..00000000000 --- a/source/_integrations/geizhals.markdown +++ /dev/null @@ -1,56 +0,0 @@ ---- -title: Geizhals -description: Instructions on how to integrate a Geizhals sensor into Home Assistant. -ha_category: - - Sensor -ha_iot_class: Cloud Polling -ha_release: 0.51 -ha_domain: geizhals -ha_platforms: - - sensor ---- - -The `geizhals` sensor will give you the best price of a product from [Geizhals](https://geizhals.de) or related site. With this information can be used in e.g., automations to notify you when a price drops. - -To enable this sensor, add the following lines to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -sensor: - - platform: geizhals - name: PRODUCT_NAME - product_id: PRODUCT_ID -``` - -{% configuration %} -name: - description: The internal name of the product in Home Assistant. - required: true - type: string -product_id: - description: "ID of the product. Get the ID from the Geizhals website of your chosen product by opening the *Price History* in a new browser tab (right-click on the price history > open in new tab). The URL of this site reveals the ID, e.g., `https://geizhals.de/?phist=1696985` with a `product_id` of `1696985`." - required: true - type: integer -description: - description: The name of the product in the front end. - required: false - default: price - type: string -locale: - description: Localisation which should be used for the request. Set this to `AT`, `EU`, `DE`, `UK` or `PL`. - required: false - default: DE - type: string -{% endconfiguration %} - -#### Extended example - -```yaml -# Example configuration.yaml entry -sensor: - - platform: geizhals - name: qc35 - product_id: 1696985 - description: "Bose QC35" - locale: "DE" -``` diff --git a/source/_redirects b/source/_redirects index 3de1f0fb905..65003235763 100644 --- a/source/_redirects +++ b/source/_redirects @@ -715,7 +715,6 @@ /components/sensor.fritzbox /integrations/fritzbox#sensor /components/sensor.fritzbox_callmonitor /integrations/fritzbox_callmonitor /components/sensor.fritzbox_netmonitor /integrations/fritzbox_netmonitor -/components/sensor.geizhals /integrations/geizhals /components/sensor.geo_rss_events /integrations/geo_rss_events /components/sensor.github /integrations/github /components/sensor.gitlab_ci /integrations/gitlab_ci @@ -1367,7 +1366,6 @@ /components/futurenow /integrations/futurenow /components/garadget /integrations/garadget /components/gc100 /integrations/gc100 -/components/geizhals /integrations/geizhals /components/generic_ip_camera /integrations/generic /components/generic_thermostat /integrations/generic_thermostat /components/geniushub /integrations/geniushub @@ -2294,3 +2292,6 @@ /components/coinmarketcap /more-info/removed-integration 301 /integrations/coinmarketcap /more-info/removed-integration 301 /integrations/griddy /more-info/removed-integration 301 +/components/geizhals /more-info/removed-integration 301 +/components/sensor.geizhals /more-info/removed-integration 301 +/integrations/geizhals /more-info/removed-integration 301