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
This commit is contained in:
springstan 2020-01-27 13:47:20 +01:00 committed by Franck Nijhof
parent b647824396
commit 5a09f7bddd
7 changed files with 4 additions and 76 deletions

View File

@ -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
```

View File

@ -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. 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]) - New services and improved device support for [HomeMatic][homematic] ([@pvizeli], [@danielperna84])
- Device tracker: New support for [GPSLogger][gpslogger] ([@dainok]) - Device tracker: New support for [GPSLogger][gpslogger] ([@dainok])
- Sensor: Support for [Sonarr][sonarr] ([@hborawski]) - Sensor: Support for [Sonarr][sonarr] ([@hborawski])
- Sensor: [World Air Quality Index][waqi] sensor ([@valentinalexeev], [@fabaff]) - Sensor: [World Air Quality Index][waqi] sensor ([@valentinalexeev], [@fabaff])
- Sensor: Support for [Dutch Smart Meter Requirements][dsmr] ([@aequitas]) - 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]) - Camera: Integration for [Nest cameras][nest-cam] ([@technicalpickles])
- Light: Support for light effects ([@Diaoul]) - Light: Support for light effects ([@Diaoul])
- Sensor: New [Threshold][threshold] sensor ([@fabaff]) - 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 [gpslogger]: /integrations/gpslogger
[harmony]: /integrations/harmony [harmony]: /integrations/harmony
[homematic]: /integrations/homematic/ [homematic]: /integrations/homematic/
[hook]: /integrations/hook
[nest-cam]: /integrations/nest#camera [nest-cam]: /integrations/nest#camera
[nest]: /integrations/nest/ [nest]: /integrations/nest/
[nginx]: /ecosystem/nginx/ [nginx]: /ecosystem/nginx/
@ -226,4 +225,3 @@ Experiencing issues introduced by this release? Please report them in our [issue
[threshold]: /integrations/threshold [threshold]: /integrations/threshold
[websockets]: /developers/websocket_api/ [websockets]: /developers/websocket_api/
[waqi]: /integrations/waqi [waqi]: /integrations/waqi

View File

@ -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]) - Upgrade paho-mqtt to 1.2.3 ([@fabaff] - [#7214])
- Workround for wemo subscription bug. ([@pavoni] - [#7245]) ([wemo docs]) ([switch.wemo docs]) - Workround for wemo subscription bug. ([@pavoni] - [#7245]) ([wemo docs]) ([switch.wemo docs])
- Fix telegram webhooks ([@MartinHjelmare] - [#7236]) ([telegram_bot docs]) ([telegram_bot.webhooks 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]) - Recorder: Check for ENTITY_ID key that contains None value ([@balloob] - [#7287]) ([recorder docs])
## Release 0.43.2 - April 27 ## 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 [@KlaasH]: https://github.com/KlaasH
[cover.zwave docs]: /integrations/zwave#cover [cover.zwave docs]: /integrations/zwave#cover
[recorder docs]: /integrations/recorder/ [recorder docs]: /integrations/recorder/
[switch.hook docs]: /integrations/hook
[switch.wemo docs]: /integrations/wemo [switch.wemo docs]: /integrations/wemo
[telegram_bot docs]: /integrations/telegram_chatbot/ [telegram_bot docs]: /integrations/telegram_chatbot/
[telegram_bot.webhooks docs]: /integrations/telegram_webhooks [telegram_bot.webhooks docs]: /integrations/telegram_webhooks

View File

@ -114,7 +114,7 @@ influxdb:
- Don't use len(SEQUENCE) as condition value ([@fabaff] - [#7249]) - Don't use len(SEQUENCE) as condition value ([@fabaff] - [#7249])
- Workround for wemo subscription bug. ([@pavoni] - [#7245]) ([wemo docs]) ([switch.wemo docs]) - Workround for wemo subscription bug. ([@pavoni] - [#7245]) ([wemo docs]) ([switch.wemo docs])
- Fix telegram webhooks ([@MartinHjelmare] - [#7236]) ([telegram_bot docs]) ([telegram_bot.webhooks 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]) - Rfxtrx upgrade lib 0.18 ([@danielhiversen] - [#7273]) ([rfxtrx docs])
- WIP: HassIO allow to access to container logs. ([@pvizeli] - [#7271]) - WIP: HassIO allow to access to container logs. ([@pvizeli] - [#7271])
- Update aiolifx ([@amelchio] - [#7279]) ([light.lifx docs]) - Update aiolifx ([@amelchio] - [#7279]) ([light.lifx docs])
@ -483,7 +483,6 @@ influxdb:
[sensor.zamg docs]: /integrations/zamg#sensor [sensor.zamg docs]: /integrations/zamg#sensor
[sensor.zha docs]: /integrations/zha [sensor.zha docs]: /integrations/zha
[switch.flux docs]: /integrations/flux [switch.flux docs]: /integrations/flux
[switch.hook docs]: /integrations/hook
[switch.thinkingcleaner docs]: /integrations/thinkingcleaner#switch [switch.thinkingcleaner docs]: /integrations/thinkingcleaner#switch
[switch.wemo docs]: /integrations/wemo [switch.wemo docs]: /integrations/wemo
[switch.zha docs]: /integrations/zha [switch.zha docs]: /integrations/zha

View File

@ -31,7 +31,6 @@ After research, the following integrations have been impacted. Although the odds
- [notify.prowl](/integrations/prowl) - [notify.prowl](/integrations/prowl)
- [rest_command](/integrations/rest_command/) - [rest_command](/integrations/rest_command/)
- [scene.lifx_cloud](/integrations/lifx_cloud) - [scene.lifx_cloud](/integrations/lifx_cloud)
- [switch.hook](/integrations/hook)
- [switch.rest](/integrations/switch.rest/) - [switch.rest](/integrations/switch.rest/)
- [telegram_bot.polling](/integrations/telegram_polling) - [telegram_bot.polling](/integrations/telegram_polling)
- [tts.voicerss](/integrations/voicerss) - [tts.voicerss](/integrations/voicerss)

View File

@ -984,7 +984,6 @@
/components/switch.homekit_controller /integrations/homekit_controller /components/switch.homekit_controller /integrations/homekit_controller
/components/switch.homematic /integrations/homematic /components/switch.homematic /integrations/homematic
/components/switch.homematicip_cloud /integrations/homematicip_cloud /components/switch.homematicip_cloud /integrations/homematicip_cloud
/components/switch.hook /integrations/hook
/components/switch.hydrawise /integrations/hydrawise#switch /components/switch.hydrawise /integrations/hydrawise#switch
/components/switch.ihc /integrations/ihc#switch /components/switch.ihc /integrations/ihc#switch
/components/switch.insteon /integrations/insteon /components/switch.insteon /integrations/insteon
@ -1435,7 +1434,6 @@
/components/homematicip_cloud /integrations/homematicip_cloud /components/homematicip_cloud /integrations/homematicip_cloud
/components/homeworks /integrations/homeworks /components/homeworks /integrations/homeworks
/components/honeywell /integrations/honeywell /components/honeywell /integrations/honeywell
/components/hook /integrations/hook
/components/horizon /integrations/horizon /components/horizon /integrations/horizon
/components/hp_ilo /integrations/hp_ilo /components/hp_ilo /integrations/hp_ilo
/components/html5 /integrations/html5 /components/html5 /integrations/html5

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB