Merge pull request #138 from alexwlchan/awlc/fishdish

Fix return type of TrafficLightsBuzzer.value
This commit is contained in:
Dave Jones
2016-01-07 11:18:40 +00:00

View File

@@ -211,7 +211,7 @@ class TrafficLightsBuzzer(SourceMixin, CompositeDevice):
the LEDs, and the buzzer. This property can also be set to a 4-tuple
to update the state of all the board's components.
"""
return FishDishTuple(
return TrafficLightsBuzzerTuple(
self.lights.red.value,
self.lights.amber.value,
self.lights.green.value,