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.
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. This Home Assistant integration reads in devices that have been set up in the official app.
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
# Example configuration.yaml entry switch: - platform: hook username: YOUR_E_MAIL_ADDRESS password: YOUR_HOOK
# Example configuration.yaml entry switch: - platform: hook token: YOUR_API_TOKEN
Extra debug logging is available, if you need it.
# Example configuration.yaml entry logger: default: error logs: homeassistant.components.switch.hook: debug