Просмотр исходного кода

Smardeer lock: rename request_unlock as there is no approve.

The request_unlock dp is designed to be paired with an approve_unlock
in this integration. But this device has only the request, no approve.
It is not clear how that is supposed to work, so just rename it to get it
out of the way.  This will mean there is no way to unlock this from
Home Assistant (but maybe unlock_app is intended for that?).

Issue #1181
Jason Rumney 2 лет назад
Родитель
Сommit
977bce0791
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      custom_components/tuya_local/devices/smardeer_lock33.yaml

+ 1 - 1
custom_components/tuya_local/devices/smardeer_lock33.yaml

@@ -27,7 +27,7 @@ primary_entity:
       persist: false
     - id: 9
       type: integer
-      name: request_unlock
+      name: unlock_request
     - id: 15
       name: unlock_app
       type: integer