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
| `entity_id` | no | String or list of strings that point at `entity_id`s of locks.
140
+
| `name` | no | the name of the new key code
141
+
| `code` | no | The new code. Must match length of existing codes.
142
+
143
+
144
+
<p class='note'>
145
+
Calling service wink/pull_newly_added_wink_devices will add the new key code to Home Assistant. The device will also show up on the next restart of Home Assistant.
146
+
</p>
133
147
134
148
<p class='note'>
135
149
If supported by your lock, a binary sensor will be created for each user key code you have defined. These key codes will turn on when the code is entered and automatically turn off after a few seconds.
Copy file name to clipboardExpand all lines: source/_components/wink.markdown
+40-5Lines changed: 40 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ This method will require you to setup a developer account with Wink. This proces
34
34
This form of authentication doesn't require any settings in the configuration.yaml other than `wink:` this is because you will be guided through setup via the configurator on the frontend.
35
35
36
36
<pclass='note'>
37
-
When using the configurator make sure the initial setup is performed on the same local network as the Home Assistant server, if not from the same box Home Assistant is running on. This will allow for authentication redirects to happen correctly.
37
+
When using the configurator make sure the initial setup is performed on the same local network as the Home Assistant server, if not from the same box Home Assistant is running on. This will allow for authentication redirects to happen correctly.
38
38
</p>
39
39
40
40
```yaml
@@ -79,7 +79,7 @@ Local control:
79
79
80
80
- Using local control doesn't appear to make commands any quicker, but does function in an internet/Wink outage.
81
81
82
-
- Local control is also only available for the Wink hub v1 and v2, not the Wink relay.
82
+
- Local control is also only available for the Wink hub v1 and v2, not the Wink relay.
83
83
84
84
- Local control isn't used during start-up of Home Assistant; this means initial setup requires an active internet connection.
85
85
@@ -98,15 +98,50 @@ Error sending local control request. Sending request online
98
98
99
99
### {% linkable_title Service `refresh_state_from_wink` %}
100
100
101
-
The Wink component only obtains the device states from the Wink API once, during startup. All updates after that are pushed via a third party called PubNub. On rare occasions where an update isn't pushed device states can be out of sync.
101
+
The Wink component only obtains the device states from the Wink API once, during startup. All updates after that are pushed via a third party called PubNub. On rare occasions where an update isn't pushed device states can be out of sync.
102
102
103
103
You can use the service wink/refresh_state_from_wink to pull the most recent state from the Wink API for all devices. If `local_control` is set to `True` states will be pulled from the devices controlling hub, not the online API.
104
104
105
-
### {% linkable_title Service `add_new_devices` %}
105
+
### {% linkable_title Service `pull_newly_added_devices_from_wink` %}
106
106
107
107
You can use the service wink/add_new_devices to pull any newly paired Wink devices to an already running instance of Home-Assistant. Any new devices will also be added if Home-Assistant is restarted.
108
108
109
+
### {% linkable_title Service `delete_wink_device` %}
110
+
111
+
You can use the service wink/delete_wink_device to remove/unpair a device from Wink.
112
+
113
+
| Service data attribute | Optional | Description |
| `hub_name` | no | The name of the hub to pair a new device to.
124
+
| `pairing_mode` | no | One of the following [zigbee, zwave, zwave_exclusion, zwave_network_rediscovery, lutron, bluetooth, kidde]
125
+
| `kidde_radio_code` | conditional | A string of 8 1s and 0s one for each dip switch on the kidde device left --> right = 1 --> 8 (Required if pairing_mode = kidde)
126
+
127
+
<p class='note'>
128
+
Calling service wink/pull_newly_added_wink_devices after a device is paired will add that new device to Home Assistant. The device will also show up on the next restart of Home Assistant.
129
+
</p>
130
+
131
+
### {% linkable_title Service `rename_wink_device` %}
132
+
133
+
You can use the service wink/rename_wink_device to change the name of a device.
134
+
135
+
| Service data attribute | Optional | Description |
| `entity_id` | no | String that points at the `entity_id` of device to rename.
138
+
| `name` | no | The name to change it to.
139
+
140
+
<p class='note'>
141
+
Home Assistant entity_ids for Wink devices are based on the Wink device's name. Calling this service will not change the entity_id of the deivce until Home Assistant is restarted.
142
+
</p>
143
+
109
144
<p class='note'>
110
-
The Wink hub, by default, can only be accessed via the cloud. This means it requires an active internet connection and you will experience delays when controlling and updating devices (~3s).
145
+
The Wink hub, by default, can only be accessed via the cloud. This means it requires an active internet connection and you will experience delays when controlling and updating devices (~3s).
0 commit comments