瀏覽代碼

bug-fix: missing TX_TOPIC in tradfri button

tags/v1.0.0
Dirk Alders 2 年之前
父節點
當前提交
31b76307bf
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      devices/__init__.py

+ 2
- 0
devices/__init__.py 查看文件

@@ -475,6 +475,8 @@ class tradfri_button(base):
475 475
     KEY_ACTION = "action"
476 476
     KEY_ACTION_DURATION = "action_duration"
477 477
     #
478
+    TX_TOPIC = ''
479
+    #
478 480
     RX_KEYS = [KEY_LINKQUALITY, KEY_BATTERY, KEY_ACTION]
479 481
     RX_IGNORE_KEYS = ['update', KEY_ACTION_DURATION]
480 482
 

Loading…
取消
儲存