Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kizniche committed Jul 26, 2022
1 parent ab361e6 commit eb1b7c6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions mycodo/functions/bang_bang.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def __init__(self, function, testing=False):
super().__init__(function, testing=testing, name=__name__)

self.control_variable = None
self.timestamp = None
self.control = DaemonControl()
self.outputIsOn = False
self.timer_loop = time.time()
Expand All @@ -132,8 +131,6 @@ def __init__(self, function, testing=False):
self.try_initialize()

def initialize(self):
self.timestamp = time.time()

self.output_channel = self.get_output_channel_from_channel_id(
self.output_channel_id)

Expand Down
3 changes: 0 additions & 3 deletions mycodo/functions/bang_bang_on_off.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ def __init__(self, function, testing=False):
super().__init__(function, testing=testing, name=__name__)

self.control_variable = None
self.timestamp = None
self.control = DaemonControl()
self.timer_loop = time.time()

Expand Down Expand Up @@ -146,8 +145,6 @@ def __init__(self, function, testing=False):
self.try_initialize()

def initialize(self):
self.timestamp = time.time()

self.output_raise_channel = self.get_output_channel_from_channel_id(
self.output_raise_channel_id)
self.output_lower_channel = self.get_output_channel_from_channel_id(
Expand Down
3 changes: 0 additions & 3 deletions mycodo/functions/bang_bang_pwm.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ def __init__(self, function, testing=False):
super().__init__(function, testing=testing, name=__name__)

self.control_variable = None
self.timestamp = None
self.control = DaemonControl()
self.outputIsOn = False
self.timer_loop = time.time()
Expand Down Expand Up @@ -166,8 +165,6 @@ def __init__(self, function, testing=False):
self.try_initialize()

def initialize(self):
self.timestamp = time.time()

self.output_channel = self.get_output_channel_from_channel_id(
self.output_channel_id)

Expand Down

0 comments on commit eb1b7c6

Please sign in to comment.