Skip to content

Commit e64ad72

Browse files
flowolffabaff
authored andcommitted
removed cython dependency, removed api_key conf (home-assistant#3875)
* removed cython dependency, removed api_key conf Cython is pulled in by DTLSSocket since 1.0.4 no need for manual install fixed with home-assistant/core#10123 removed the api_key parameter relates to home-assistant/core#10282 * Minor changes
1 parent 005f777 commit e64ad72

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

source/_components/tradfri.markdown

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,27 @@ ha_iot_class: "Local Polling"
1414
ha_release: 0.43
1515
---
1616

17-
The `tradfri` component supports for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it and Home Assistant will automatically discover its presence on your network.
17+
The `tradfri` component supports for the IKEA Trådfri (Tradfri) gateway. The gateway can control lights connected to it and Home Assistant will automatically discover its presence on your network, if `discovery:` is present in your `configuration.yaml` file.
1818

19-
This component requires cython, please ensure it's installed by running the following in your Home Assistant environment (virtualenv, etc);
20-
21-
```
22-
$ pip3 install cython
23-
```
24-
25-
You will be prompted to configure the gateway through the Home Assistant interface, Enter the security key when prompted and click configure
19+
You will be prompted to configure the gateway through the Home Assistant interface. Enter the security key when prompted and click configure.
2620

2721
<p class='note'>
2822
If you see an "Unable to connect" message, restart the gateway and try again. Don't forget to assign a permanent IP to your Trådfri gateway.
2923
</p>
3024

31-
The gateway can also be manually configured by adding the following lines to your `configuration.yaml` file:
25+
You can add the following to your `configuration.yaml` file if you are not using the [`discovery:`](/components/discovery/) component:
3226

3327
```yaml
3428
# Example configuration.yaml entry
3529
tradfri:
3630
host: IP_ADDRESS
37-
api_key: API_KEY
3831
```
3932
4033
Configuration variables:
4134
4235
- **host** (*Required*): The IP address or hostname of your Trådfri gateway.
43-
- **api_key** (*Required*): Can be found listed as Security Key on the back of the Trådfri gateway.
44-
- **allow_tradfri_groups** (*Optional*): (true/false) Enable this to stop Home Assistant from importing the groups defined on the Trådfri bridge.
36+
- **allow_tradfri_groups** (*Optional*): Enable this to stop Home Assistant from importing the groups defined on the Trådfri bridge. Defaults to `true`.
37+
38+
<p class='note'>
39+
Do not use the `api_key` variable. The key is only needed once at initial setup.
40+
</p>

0 commit comments

Comments
 (0)