From f1d601e5eaffeeb21d740e8a3b7e5b6b1f6db58f Mon Sep 17 00:00:00 2001 From: Matthew Frost Date: Sun, 17 Dec 2023 00:45:37 +0100 Subject: [PATCH] new groups --- app/settings.py | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/app/settings.py b/app/settings.py index 22ada28..3c7b0f8 100644 --- a/app/settings.py +++ b/app/settings.py @@ -1,21 +1,30 @@ groups = [ + { + "name" : "All Space Lights", + "devices" : [ { "powerbar" : "powerbar-main-space", "outlets" : [ 5, 6, 7, 8, 10, 11, 12, 15 ] }, + { "powerbar" : "powerbar-aux-space", "outlets" : [ 1, 17, 13] }], + }, + { + "name" : "Main Space Lights", + "devices" : [ { "powerbar" : "powerbar-main-space", "outlets" : [ 5, 6, 7, 8, 10, 11, 12, 15 ] } ], + }, + { + "name" : "Aux Space Lights", + "devices" : [ { "powerbar": "powerbar-aux-space", "outlets" : [ 1, 17, 13] } ], + }, { "name" : "Solder Lane", "devices" : [ { "powerbar": "powerbar-aux-space", "outlets" : [ 4 ] } ], }, { - "name" : "Aux Space Lights", - "devices" : [ { "powerbar": "powerbar-aux-space", "outlets" : [ 1, 17, 13] } ], - }, + "name" : "3D Printers", + "devices" : [ { "powerbar": "powerbar-main-space", "outlets" : [ 9 ] } ], + }, { - "name" : "Main Space Lights", - "devices" : [ { "powerbar" : "powerbar-main-space", "outlets" : [ 5, 6, 7, 8, 10, 11, 12, 15 ] } ], - }, - { - "name" : "All Space Lights", - "devices" : [ { "powerbar" : "powerbar-main-space", "outlets" : [ 5, 6, 7, 8, 10, 11, 12, 15 ] }, - { "powerbar" : "powerbar-aux-space", "outlets" : [ 1, 17, 13] }], - }, + "name" : "Laser Cutter", + "devices" : [ { "powerbar": "powerbar-main-space", "outlets" : [ 19 ] } ], + }, + ] powerbars = {