From eef4e9f67211bbb3b5e810f275d5159e218baa38 Mon Sep 17 00:00:00 2001 From: Laurens Valk Date: Sun, 25 Oct 2020 10:25:16 +0100 Subject: [PATCH] api/hubs: add InventorHub This is just the SPIKE Prime Hub with a different name and color. --- pybricks/hubs.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pybricks/hubs.py b/pybricks/hubs.py index b05dcc4..df52c54 100644 --- a/pybricks/hubs.py +++ b/pybricks/hubs.py @@ -38,3 +38,8 @@ class PrimeHub: """LEGO® SPIKE Prime Hub.""" battery = _Battery() light = _ColorLight() + + +class InventorHub(PrimeHub): + """LEGO® MINDSTORMS Inventor Hub.""" + pass