You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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
Copy file name to clipboardExpand all lines: source/_components/tradfri.markdown
+8-12Lines changed: 8 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -14,31 +14,27 @@ ha_iot_class: "Local Polling"
14
14
ha_release: 0.43
15
15
---
16
16
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.
18
18
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.
26
20
27
21
<pclass='note'>
28
22
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.
29
23
</p>
30
24
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:
32
26
33
27
```yaml
34
28
# Example configuration.yaml entry
35
29
tradfri:
36
30
host: IP_ADDRESS
37
-
api_key: API_KEY
38
31
```
39
32
40
33
Configuration variables:
41
34
42
35
- **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.
0 commit comments