Make initial_state not required parameter into define_device function
@@ -16,7 +16,7 @@ def set_default_connection(io_type, variant):
default_connection = {"io_type": io_type, "variant": variant}
-def define_device(name, device_class, initial_state, connection_desc, connection_hops):
+def define_device(name, device_class, connection_desc, connection_hops, initial_state=None):
"""Assign name to device specification."""
named_devices[name] = (device_class, initial_state, connection_desc, connection_hops)
