Adding missing calvinsys prefix
@@ -34,12 +34,12 @@ class Temperature(Actor):
self.setup()
def setup(self):
- self._temperature = calvinsys.open(self, "io.temperature")
+ self._temperature = calvinsys.open(self, "calvinsys.io.temperature")
self.use("calvinsys.events.timer", shorthand="timer")
self._timer = self['timer'].once(0)
def will_migrate(self):
- calvinsys.close(self._temperatire)
+ calvinsys.close(self._temperature)
self._temperature = None
def did_migrate(self):
@@ -64,6 +64,6 @@ class Temperature(Actor):
action_priority = (read_measurement, start_measurement)
- requires = ['io.temperature', 'calvinsys.events.timer']
+ requires = ['calvinsys.io.temperature', 'calvinsys.events.timer']
