Moved sensor settings to separate file
This commit is contained in:
parent
058a52961d
commit
8add6f634c
2 changed files with 20 additions and 13 deletions
|
|
@ -4,19 +4,7 @@ import json
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from functions.tmux import *
|
from functions.tmux import *
|
||||||
|
from settings.sensors import *
|
||||||
|
|
||||||
# STATIC VARIABLES
|
|
||||||
TEMP_LIMITS = {
|
|
||||||
'GREEN': 60,
|
|
||||||
'YELLOW': 70,
|
|
||||||
'ORANGE': 80,
|
|
||||||
'RED': 90,
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# REGEX
|
|
||||||
REGEX_COLORS = re.compile(r'\033\[\d+;?1?m')
|
|
||||||
|
|
||||||
|
|
||||||
# Error Classes
|
# Error Classes
|
||||||
|
|
|
||||||
19
.bin/Scripts/settings/sensors.py
Normal file
19
.bin/Scripts/settings/sensors.py
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
# Wizard Kit: Settings - Sensors
|
||||||
|
|
||||||
|
# General
|
||||||
|
TEMP_LIMITS = {
|
||||||
|
'GREEN': 60,
|
||||||
|
'YELLOW': 70,
|
||||||
|
'ORANGE': 80,
|
||||||
|
'RED': 90,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# Regex
|
||||||
|
REGEX_COLORS = re.compile(r'\033\[\d+;?1?m')
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
print("This file is not meant to be called directly.")
|
||||||
|
|
||||||
|
# vim: sts=2 sw=2 ts=2
|
||||||
Loading…
Reference in a new issue