Add weird fix to MQTT module
This commit is contained in:
@@ -4,6 +4,8 @@ from django.http import JsonResponse
|
||||
import datetime
|
||||
from .mqtt import get_latest
|
||||
|
||||
import coffee_scale.mqtt # somehow this is needed
|
||||
|
||||
|
||||
def get_cups_from_weight(weight):
|
||||
if not weight:
|
||||
|
||||
Reference in New Issue
Block a user