prettify bluemaestro
This commit is contained in:
parent
e720828645
commit
4e93beee27
3 changed files with 31 additions and 35 deletions
|
@ -1,13 +1,12 @@
|
|||
#!/usr/bin/python3
|
||||
import logging
|
||||
from datetime import timedelta, datetime
|
||||
from kython import setup_logzero
|
||||
|
||||
from my.bluemaestro import get_temperature, logger
|
||||
from my.bluemaestro import measurements, logger
|
||||
|
||||
# TODO move this to backup checker?
|
||||
def main():
|
||||
temps = get_temperature()
|
||||
temps = list(measurements())
|
||||
latest = temps[:-2]
|
||||
|
||||
prev, _ = latest[-2]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue