Matthew Treinish and Paulus Schoutsen
087bffeaae
Add workaround to use notification state for zwave lock state ( #17386 )
...
* Add workaround to use notification state for zwave lock state
There are several zwave lock models out there which do not seem to
update the lock state on non-rf events (see #11934 #14632 #14534 for
examples) including kwikset smartkey zwave plus locks (which I own).
In these cases it seems that the notifications for non-rf events the
access_control value is updated but not the primary value for the
lock state, which is what is used to set the is_locked property. To
properly have the lock state accurate for all types of notifications
on these models we need to use the access_control field. This commit
adds a workaround for the 4 models reported to exhibit this behavior
so that home-assistant will reliably set the lock state for all
device notifications.
* Add YRD220 as per adrum to workaround list
* Inline constants
2018-11-06 11:00:48 +01:00
..
2018-10-25 12:21:20 +02:00
2018-11-06 10:39:10 +01:00
2018-10-25 16:44:57 +02:00
2018-10-31 09:10:28 +01:00
2018-11-03 12:36:22 +01:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-09-21 16:34:37 +02:00
2018-11-02 21:06:59 +01:00
2018-11-06 10:39:10 +01:00
2018-10-08 16:35:38 +02:00
2018-10-24 12:10:05 +02:00
2018-11-01 20:09:43 +01:00
2018-11-06 10:34:24 +01:00
2018-10-29 19:21:21 +01:00
2018-11-01 19:37:38 +01:00
2018-10-24 12:10:05 +02:00
2018-11-02 21:08:22 +01:00
2018-10-01 11:21:00 +02:00
2018-11-02 14:03:05 +01:00
2018-11-06 10:39:10 +01:00
2018-10-24 12:10:05 +02:00
2018-08-24 10:39:35 +02:00
2018-10-11 10:55:38 +02:00
2018-11-05 21:36:30 +01:00
2018-11-01 12:21:59 +01:00
2018-10-25 16:44:57 +02:00
2018-10-04 16:04:44 +02:00
2018-10-23 11:14:46 +02:00
2018-11-02 10:50:43 +01:00
2018-09-21 16:34:37 +02:00
2018-10-31 22:38:04 +01:00
2018-11-06 11:00:48 +01:00
2018-11-01 09:44:38 +01:00
2018-09-21 11:55:12 +02:00
2018-10-30 12:12:41 +01:00
2018-11-02 11:50:07 +02:00
2018-11-04 12:19:04 +01:00
2018-10-29 19:21:21 +01:00
2018-10-15 13:21:21 -06:00
2018-10-04 10:24:14 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-31 22:38:04 +01:00
2018-11-05 16:10:30 +01:00
2018-10-12 19:07:47 +02:00
2018-10-08 23:54:55 +02:00
2018-09-21 16:34:37 +02:00
2018-11-02 21:09:16 +01:00
2018-10-24 12:10:05 +02:00
2018-10-11 10:37:34 +02:00
2018-09-10 11:50:25 +02:00
2018-11-05 09:23:58 +01:00
2018-10-29 19:09:54 +01:00
2018-11-01 22:59:42 +01:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-01 16:09:31 +02:00
2018-11-01 19:38:23 +01:00
2018-10-01 16:09:31 +02:00
2018-11-01 09:48:11 +01:00
2018-08-24 10:28:43 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-30 17:38:09 +02:00
2018-10-24 12:10:05 +02:00
2018-08-21 15:49:58 +02:00
2018-10-24 12:10:05 +02:00
2018-08-24 10:28:43 +02:00
2018-09-26 08:50:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-11-03 12:36:22 +01:00
2018-10-29 19:21:21 +01:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-11-04 01:33:05 +01:00
2018-10-24 12:10:05 +02:00
2018-10-27 21:34:33 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-30 21:29:11 +01:00
2018-10-02 10:23:37 +02:00
2018-08-21 15:49:58 +02:00
2018-10-24 12:10:05 +02:00
2018-08-23 11:14:18 +02:00
2018-10-01 16:09:31 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-09-02 00:01:11 +02:00
2018-10-07 23:30:09 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-10-24 12:10:05 +02:00
2018-11-05 09:23:58 +01:00
2018-10-24 12:10:05 +02:00