Skip to content

Commit

Permalink
ctrl_nodes.py still contained py3.9-style annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
schwabix-1311 authored Nov 7, 2024
1 parent 9388338 commit f0592f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aquaPi/machineroom/ctrl_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def listen(self, msg):
self.post(MsgData(self.id, self.data))
return super().listen(msg)

def get_settings(self) -> list[tuple]:
def get_settings(self):
limits = get_unit_limits(self.unit)

settings = super().get_settings()
Expand Down Expand Up @@ -305,7 +305,7 @@ def listen(self, msg):

return super().listen(msg)

def get_settings(self) -> list[tuple]:
def get_settings(self):
settings = super().get_settings()
settings.append(('setpoint', 'Sollwert [%s]' % self.unit,
self.setpoint, 'type="number"'))
Expand Down

0 comments on commit f0592f7

Please sign in to comment.