diff --git a/nuimo_openhab/app_builder.py b/nuimo_openhab/app_builder.py index bab09b6..f0fd43b 100644 --- a/nuimo_openhab/app_builder.py +++ b/nuimo_openhab/app_builder.py @@ -5,7 +5,7 @@ class OpenHabAppBuilder: - def __init__(self, openhab : openHAB, sitemapName = "nuimo"): + def __init__(self, openhab : OpenHAB, sitemapName = "nuimo"): self.openhab = openhab self.sitemapName = sitemapName self.sitemap = dict() @@ -93,4 +93,4 @@ def compare_sitemap_config(self, sitemap1, sitemap2): logging.debug("Sitemap configuration is do not match. Value '%s' is differs from '%s", sitemap1, sitemap2) return False - return True \ No newline at end of file + return True diff --git a/nuimo_openhab/listener.py b/nuimo_openhab/listener.py index 5e9a94b..acb28ed 100644 --- a/nuimo_openhab/listener.py +++ b/nuimo_openhab/listener.py @@ -6,7 +6,7 @@ import nuimo import requests -from openhab import openHAB +from openhab import OpenHAB import nuimo_menue from nuimo_openhab.util import config @@ -14,7 +14,7 @@ class OpenHabItemListener(nuimo_menue.model.AppListener): - def __init__(self, openhab: openHAB): + def __init__(self, openhab: OpenHAB): self.openhab = openhab self.widgets = [] self.sliderWidgets = [] @@ -156,4 +156,4 @@ def handleSliders(self, rotationOffset): if widget["sendFrequency"] != 0: threading.Timer(widget["sendFrequency"]/1000, self.handleSliders, [0]).start() - return self.lastSliderState \ No newline at end of file + return self.lastSliderState