<state-assertion>.add obj steps [type] ["attribute"] [step-obj]
Add an object to a state assertion file so its state will be recorded.
- obj is the name of the object to be added.
- steps is the number of steps between each save.
- type is the type of state saved in the file (for devices that provide several, the most complete state is saved by default).
- attribute is the attribute to save. If specified, the save_state interface is not used and the attribute is saved instead. This is useful for object having no save_state interface. - step-obj is the object that implements the event queue you want to post the event to. If not specified, the obj must implement step interface.
state-assertion