enh: automation

This commit is contained in:
Timothy Jaeryang Baek
2026-04-11 17:06:58 -06:00
parent ee9db91df0
commit 406251c2f3
6 changed files with 85 additions and 0 deletions
+12
View File
@@ -1541,6 +1541,18 @@ ENABLE_CHANNELS = PersistentConfig(
os.environ.get('ENABLE_CHANNELS', 'False').lower() == 'true',
)
AUTOMATION_MAX_COUNT = PersistentConfig(
'AUTOMATION_MAX_COUNT',
'automations.max_count',
os.environ.get('AUTOMATION_MAX_COUNT', ''),
)
AUTOMATION_MIN_INTERVAL = PersistentConfig(
'AUTOMATION_MIN_INTERVAL',
'automations.min_interval',
os.environ.get('AUTOMATION_MIN_INTERVAL', ''),
)
ENABLE_NOTES = PersistentConfig(
'ENABLE_NOTES',
'notes.enable',