25 lines
528 B
Python
25 lines
528 B
Python
|
# Twisted/Klein imports
|
||
|
from twisted.logger import Logger
|
||
|
|
||
|
# Other library imports
|
||
|
# import requests
|
||
|
# from json import dumps
|
||
|
|
||
|
# Project imports
|
||
|
# from settings import settings
|
||
|
import sinks.fidor
|
||
|
import sinks.nordigen
|
||
|
import sinks.truelayer
|
||
|
|
||
|
|
||
|
class Sinks(object):
|
||
|
"""
|
||
|
Class to manage calls to various sinks.
|
||
|
"""
|
||
|
|
||
|
def __init__(self):
|
||
|
self.log = Logger("sinks")
|
||
|
self.fidor = sinks.fidor.Fidor()
|
||
|
self.nordigen = sinks.nordigen.Nordigen()
|
||
|
self.truelayer = sinks.truelayer.TrueLayer()
|