✨ pi_support: include throttle state in environment

This commit is contained in:
Gina Häußge committed 2020-11-02 18:25:14 +01:00
1 parent a58e02940d
commit ee4eb72014
1 file changed
+4 -1
+4 -1
View File
@@ -240,7 +240,10 @@ class PiSupportPlugin(
# ~~ EnvironmentDetectionPlugin
def get_additional_environment(self):
result = {"model": get_proc_dt_model()}
result = {
"model": get_proc_dt_model(),
"throttle_state": self._throttle_state.as_dict(),
}
if is_octopi():
result.update({"octopi_version": get_octopi_version()})