17 lines
495 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# app/state.py Zentrale globale Zustände (wird von überall importiert)
current_config = None
current_hub = None
current_module = None
current_device = None
current_soundboard = None # aktives Soundboard-Thema
auto_random_active = False
# Optional: Funktionen zum Setzen/Resetten (für Klarheit)
def reset_state():
global current_config, current_hub, current_module, current_device
current_config = None
current_hub = None
current_module = None
current_device = None