소스 검색

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

muhkuhgh 7 년 전
부모
커밋
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