From 5a09f7bddd1ae6132890b09d91f6328d3090e1e9 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Mon, 27 Jan 2020 13:47:20 +0100 Subject: [PATCH] Deprecate hook integration (#11832) * Deprecate hook integration * Remove redirects and logo image * Remove links from other pages * Completely remove links from other pages * Add changelogs back without link to the docs --- source/_integrations/hook.markdown | 65 ------------------ ...16-12-03-remote-websockets-sonarr.markdown | 6 +- .../2017-04-22-ikea-tradfri--spotify.markdown | 3 +- .../2017-05-06-zigbee-opencv-dlib.markdown | 3 +- .../_posts/2018-07-16-release-73-2.markdown | 1 - source/_redirects | 2 - source/images/supported_brands/hook.png | Bin 1884 -> 0 bytes 7 files changed, 4 insertions(+), 76 deletions(-) delete mode 100644 source/_integrations/hook.markdown delete mode 100644 source/images/supported_brands/hook.png diff --git a/source/_integrations/hook.markdown b/source/_integrations/hook.markdown deleted file mode 100644 index 4f840227e9e..00000000000 --- a/source/_integrations/hook.markdown +++ /dev/null @@ -1,65 +0,0 @@ ---- -title: Hook -description: Instructions on how to integrate the Hook Smart Home Hub into Home Assistant. -logo: hook.png -ha_category: - - Switch -ha_iot_class: Assumed State -ha_release: 0.34 ---- - -The `hook` integration allows you to control the Hook Smart Home Hub from within Home Assistant. - -Hook allows you to control cheap mains electrical outlets, like these ones at [Amazon](https://amzn.to/2WVZdGG). - -In short, Hook is an RF to Wi-Fi bridge, controlling devices that receive commands at 315MHz and 433MHz. Unfortunately, this does not allow Hook to determine if the command was successful, so the state is assumed. - -Hook provides a simple [REST API](https://app.swaggerhub.com/api/rahilj/GetHook_RestAPI/v1). This Home Assistant integration reads in devices that have been set up in the official app. - -## Configuration - -Configure with either your username/password or your API token for the official app. - -To enable this platform in your installation, add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -switch: - - platform: hook - username: YOUR_E_MAIL_ADDRESS - password: YOUR_HOOK -``` - -Or - -```yaml -# Example configuration.yaml entry -switch: - - platform: hook - token: YOUR_API_TOKEN -``` - -{% configuration %} -username: - description: The email address associated with your Hook Smart Home Hub. - required: true - type: string -password: - description: The password for your Hook Smart Home Hub. - required: true - type: string -token: - description: The API token for your Hook Smart Home Hub. - required: true - type: string -{% endconfiguration %} - -Extra debug logging is available, if you need it. - -```yaml -# Example configuration.yaml entry -logger: - default: error - logs: - homeassistant.components.switch.hook: debug -``` diff --git a/source/_posts/2016-12-03-remote-websockets-sonarr.markdown b/source/_posts/2016-12-03-remote-websockets-sonarr.markdown index 17987ef2ace..03fba69d3c7 100644 --- a/source/_posts/2016-12-03-remote-websockets-sonarr.markdown +++ b/source/_posts/2016-12-03-remote-websockets-sonarr.markdown @@ -36,14 +36,14 @@ The support for multiple hosts is a result of allowing mixed configurations with This release includes a new [websockets][websockets] based API by [@balloob] to power the next generation of Home Assistant frontends. The current frontend has been partly migrated to use it and will be further migrated in the future. -## All changes +## All changes - New services and improved device support for [HomeMatic][homematic] ([@pvizeli], [@danielperna84]) - Device tracker: New support for [GPSLogger][gpslogger] ([@dainok]) - Sensor: Support for [Sonarr][sonarr] ([@hborawski]) - Sensor: [World Air Quality Index][waqi] sensor ([@valentinalexeev], [@fabaff]) - Sensor: Support for [Dutch Smart Meter Requirements][dsmr] ([@aequitas]) -- Switch: [Hook][hook] support by hooksmarthome.com ([@dasos]) +- Switch: Hook support by hooksmarthome.com ([@dasos]) - Camera: Integration for [Nest cameras][nest-cam] ([@technicalpickles]) - Light: Support for light effects ([@Diaoul]) - Sensor: New [Threshold][threshold] sensor ([@fabaff]) @@ -212,7 +212,6 @@ Experiencing issues introduced by this release? Please report them in our [issue [gpslogger]: /integrations/gpslogger [harmony]: /integrations/harmony [homematic]: /integrations/homematic/ -[hook]: /integrations/hook [nest-cam]: /integrations/nest#camera [nest]: /integrations/nest/ [nginx]: /ecosystem/nginx/ @@ -226,4 +225,3 @@ Experiencing issues introduced by this release? Please report them in our [issue [threshold]: /integrations/threshold [websockets]: /developers/websocket_api/ [waqi]: /integrations/waqi - diff --git a/source/_posts/2017-04-22-ikea-tradfri--spotify.markdown b/source/_posts/2017-04-22-ikea-tradfri--spotify.markdown index ff381ec664f..dda9b5bb667 100644 --- a/source/_posts/2017-04-22-ikea-tradfri--spotify.markdown +++ b/source/_posts/2017-04-22-ikea-tradfri--spotify.markdown @@ -93,7 +93,7 @@ Experiencing issues introduced by this release? Please report them in our [issue - Upgrade paho-mqtt to 1.2.3 ([@fabaff] - [#7214]) - Workround for wemo subscription bug. ([@pavoni] - [#7245]) ([wemo docs]) ([switch.wemo docs]) - Fix telegram webhooks ([@MartinHjelmare] - [#7236]) ([telegram_bot docs]) ([telegram_bot.webhooks docs]) -- Work around bad content-type in Hook api response ([@KlaasH] - [#7267]) ([switch.hook docs]) +- Work around bad content-type in Hook api response ([@KlaasH] - [#7267]) - Recorder: Check for ENTITY_ID key that contains None value ([@balloob] - [#7287]) ([recorder docs]) ## Release 0.43.2 - April 27 @@ -492,7 +492,6 @@ Experiencing issues introduced by this release? Please report them in our [issue [@KlaasH]: https://github.com/KlaasH [cover.zwave docs]: /integrations/zwave#cover [recorder docs]: /integrations/recorder/ -[switch.hook docs]: /integrations/hook [switch.wemo docs]: /integrations/wemo [telegram_bot docs]: /integrations/telegram_chatbot/ [telegram_bot.webhooks docs]: /integrations/telegram_webhooks diff --git a/source/_posts/2017-05-06-zigbee-opencv-dlib.markdown b/source/_posts/2017-05-06-zigbee-opencv-dlib.markdown index b4b4636072f..d67e2ddd53d 100644 --- a/source/_posts/2017-05-06-zigbee-opencv-dlib.markdown +++ b/source/_posts/2017-05-06-zigbee-opencv-dlib.markdown @@ -114,7 +114,7 @@ influxdb: - Don't use len(SEQUENCE) as condition value ([@fabaff] - [#7249]) - Workround for wemo subscription bug. ([@pavoni] - [#7245]) ([wemo docs]) ([switch.wemo docs]) - Fix telegram webhooks ([@MartinHjelmare] - [#7236]) ([telegram_bot docs]) ([telegram_bot.webhooks docs]) -- Work around bad content-type in Hook api response ([@KlaasH] - [#7267]) ([switch.hook docs]) +- Work around bad content-type in Hook api response ([@KlaasH] - [#7267]) - Rfxtrx upgrade lib 0.18 ([@danielhiversen] - [#7273]) ([rfxtrx docs]) - WIP: HassIO allow to access to container logs. ([@pvizeli] - [#7271]) - Update aiolifx ([@amelchio] - [#7279]) ([light.lifx docs]) @@ -483,7 +483,6 @@ influxdb: [sensor.zamg docs]: /integrations/zamg#sensor [sensor.zha docs]: /integrations/zha [switch.flux docs]: /integrations/flux -[switch.hook docs]: /integrations/hook [switch.thinkingcleaner docs]: /integrations/thinkingcleaner#switch [switch.wemo docs]: /integrations/wemo [switch.zha docs]: /integrations/zha diff --git a/source/_posts/2018-07-16-release-73-2.markdown b/source/_posts/2018-07-16-release-73-2.markdown index cc34cb7844c..1e828f16c56 100644 --- a/source/_posts/2018-07-16-release-73-2.markdown +++ b/source/_posts/2018-07-16-release-73-2.markdown @@ -31,7 +31,6 @@ After research, the following integrations have been impacted. Although the odds - [notify.prowl](/integrations/prowl) - [rest_command](/integrations/rest_command/) - [scene.lifx_cloud](/integrations/lifx_cloud) -- [switch.hook](/integrations/hook) - [switch.rest](/integrations/switch.rest/) - [telegram_bot.polling](/integrations/telegram_polling) - [tts.voicerss](/integrations/voicerss) diff --git a/source/_redirects b/source/_redirects index f46e9dc9e22..efb7022df56 100644 --- a/source/_redirects +++ b/source/_redirects @@ -984,7 +984,6 @@ /components/switch.homekit_controller /integrations/homekit_controller /components/switch.homematic /integrations/homematic /components/switch.homematicip_cloud /integrations/homematicip_cloud -/components/switch.hook /integrations/hook /components/switch.hydrawise /integrations/hydrawise#switch /components/switch.ihc /integrations/ihc#switch /components/switch.insteon /integrations/insteon @@ -1435,7 +1434,6 @@ /components/homematicip_cloud /integrations/homematicip_cloud /components/homeworks /integrations/homeworks /components/honeywell /integrations/honeywell -/components/hook /integrations/hook /components/horizon /integrations/horizon /components/hp_ilo /integrations/hp_ilo /components/html5 /integrations/html5 diff --git a/source/images/supported_brands/hook.png b/source/images/supported_brands/hook.png deleted file mode 100644 index b26bdbd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