In the function bar below the main menu click on Options and select Global Options - Objects - Switches on the left. Here you can make settings for the properties of newly created switch objects.
Under Default properties of new objects you can enter the object length at Duration and the switch condition On or Off at Value.
Under Options you choose whether the duration is to be displayed in the info line of switch objects.
See also