From cca4c85afea91fa61715482b4c4f020056332a05 Mon Sep 17 00:00:00 2001 From: Alex Chan Date: Wed, 6 Jan 2016 15:04:34 +0000 Subject: [PATCH] Fix return type of TrafficLightsBuzzer.value The FishDishTuple was renamed to TrafficLightsBuzzerTuple in commit b87e2a4, but the `value` property wasn't modified to match. --- gpiozero/boards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpiozero/boards.py b/gpiozero/boards.py index 349a8f0..8208305 100644 --- a/gpiozero/boards.py +++ b/gpiozero/boards.py @@ -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,