mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add constants class-struct
This commit is contained in:
parent
7a8d72de3f
commit
bfbe4160b2
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@ GRAINS_CACHE = {}
|
|||
log = logging.getLogger(__file__)
|
||||
|
||||
|
||||
class Const:
|
||||
'''
|
||||
Constants for the lamp operations.
|
||||
'''
|
||||
LAMP_ON = {"on": True, "transitiontime": 0}
|
||||
LAMP_OFF = {"on": False, "transitiontime": 0}
|
||||
|
||||
|
||||
def __virtual__():
|
||||
'''
|
||||
Validate the module.
|
||||
|
|
Loading…
Add table
Reference in a new issue