瀏覽代碼

Switch backend imports to miflora lib v0.4 (#37)

muhkuhgh 8 年之前
父節點
當前提交
20aafd324f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      miflora-mqtt-daemon.py

+ 1 - 1
miflora-mqtt-daemon.py

@@ -13,7 +13,7 @@ from colorama import Fore, Back, Style
 from configparser import ConfigParser
 from unidecode import unidecode
 from miflora.miflora_poller import MiFloraPoller, MI_BATTERY, MI_CONDUCTIVITY, MI_LIGHT, MI_MOISTURE, MI_TEMPERATURE
-from miflora.backends.gatttool import GatttoolBackend
+from btlewrap import available_backends, BluepyBackend, GatttoolBackend, PygattBackend
 import paho.mqtt.client as mqtt
 import sdnotify