#NEWLINE# def __init__( self , name , description = None , state = SwitchState . ON ) : #NEWLINE# #INDENT# self . name = name #NEWLINE# self . description = description #NEWLINE# self . state = description #NEWLINE# Switch . switches . append ( self )